diff options
Diffstat (limited to 'src/YalpClients/EflClient/tmp/root')
14 files changed, 1198 insertions, 0 deletions
diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.py b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.py new file mode 100644 index 0000000..c975381 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.py @@ -0,0 +1,13 @@ +# DO NOT EDIT THIS FILE! +# +# Python module YalpInterfaces generated by omniidl + +import omniORB +omniORB.updateModule("YalpInterfaces") + +# ** 1. Stub files contributing to this module +import yalp_idl + +# ** 2. Sub-modules + +# ** 3. End diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.pyc b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.pyc Binary files differnew file mode 100644 index 0000000..87a22b5 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces/__init__.pyc diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.py b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.py new file mode 100644 index 0000000..6799ccc --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.py @@ -0,0 +1,13 @@ +# DO NOT EDIT THIS FILE! +# +# Python module YalpInterfaces__POA generated by omniidl + +import omniORB +omniORB.updateModule("YalpInterfaces__POA") + +# ** 1. Stub files contributing to this module +import yalp_idl + +# ** 2. Sub-modules + +# ** 3. End diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.pyc b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.pyc Binary files differnew file mode 100644 index 0000000..e164ada --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/YalpInterfaces__POA/__init__.pyc diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/client.py b/src/YalpClients/EflClient/tmp/root/EflClient/client.py new file mode 100755 index 0000000..c8923ba --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/client.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python + +import sys +from omniORB import CORBA +import YalpInterfaces, CosNaming, YalpInterfaces__POA +import medialist +import media +import playlist + +class Corba(object): + def __init__(self, win, c): + self.win = win + self.c = c + + self.orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) + self.obj = self.orb.resolve_initial_references("NameService") + self.root_context = self.obj._narrow(CosNaming.NamingContextExt) + if self.root_context is None: + print "Failed to narrow the root naming context" + sys.exit(1) + + self.name = ("YALP_Server") + try: + self.obj = self.root_context.resolve_str(self.name) + + except CosNaming.NamingContext.NotFound, ex: + print "Name not found", ex + sys.exit(1) + + self.blubb = self.obj._narrow(YalpInterfaces.ServerControlInterface) + if self.blubb is None: + print "obj ref is not an dbsfeditf::dependency" + sys.exit(1) + + def corba_search(self,searchentry): + mlist = [] + mlist.append (YalpInterfaces.VIDEO) + mlist.append (YalpInterfaces.SOUND) + deps = self.blubb.search(searchentry, mlist) + m = medialist.Medialist(self.win, self.c) + video = playlist.Selection(self.win, self.c) + + for dep in deps[0]: + current = media.Media(dep, video, self.blubb, self.win, self.c) + m.add_media(current) + diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/corba_test.py b/src/YalpClients/EflClient/tmp/root/EflClient/corba_test.py new file mode 100755 index 0000000..e432499 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/corba_test.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python + +import sys +from omniORB import CORBA, PortableServer +#import Example +import CosNaming, YalpInterfaces, YalpInterfaces__POA + +orb = CORBA.ORB_init(sys.argv, CORBA.ORB_ID) +poa = orb.resolve_initial_references("RootPOA") + +obj = orb.resolve_initial_references("NameService") +root_context = obj._narrow(CosNaming.NamingContext) + +if root_context is None: + print "Failed to narrow the root naming context" + sys.exit(1) + +name = "YALP_Server" + +try: + yalp = root_context.resolve(name) + print "new aptd:apt object bound" + +except CosNaming.NamingContext.NotFound, ex: + print "Name not found" + sys.exit(1) + +if yalp is None: + print "Object reference is not an Example::Echo" + sys.exit(1) + +message = "Hello from Python" + +result = yalp.ping(err) + +poaManager = poa._get_the_POAManager() +poaManager.activate() + +orb.run() + diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/eyalp.py b/src/YalpClients/EflClient/tmp/root/EflClient/eyalp.py new file mode 100755 index 0000000..9865d6a --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/eyalp.py @@ -0,0 +1,42 @@ +#!/usr/bin/python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import evas +import elementary + +#import own Classes +import searchframe +import medialist +import playlist +import YalpInterfaces + +def destroy(obj, event, data): + print "Bye bye" + elementary.exit() + print "exit done" + +def gui(): + elementary.init() + win = elementary.Window("Yalp", elementary.ELM_WIN_BASIC) + win.title_set("YALP") + + win.autodel_set(True) + + edje_file = os.path.join(os.path.dirname(sys.argv[0]),"yalp_gui.edj") + c = edje.Edje(win.canvas, file=edje_file, group = "yalp") + s = searchframe.Search(win, c) + + c.show() + win.resize(480,620) + win.show() + elementary.run(); + print "quit main loop" + elementary.shutdown(); + print "shutdown done" + +gui() diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/list.py b/src/YalpClients/EflClient/tmp/root/EflClient/list.py new file mode 100755 index 0000000..e6bd6c3 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/list.py @@ -0,0 +1,60 @@ +#!/usr/bin/env python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import elementary +import evas + +def huhu(obj, it): + print "guck guck"; + +elementary.init(); +win = elementary.Window("test", elementary.ELM_WIN_BASIC); +win.title_set("python-elementary test application"); +bg = elementary.Background(win); +win.resize_object_add(bg); +bg.show(); + +box0 = elementary.Box(win); +win.resize_object_add(box0); + +items = [("huhu",huhu), + ("haha", huhu), + ("hoho", huhu), + ("hehe", huhu), + ("hihi", huhu)]; + +li = elementary.List(win); +li.size_hint_weight_set(1.0, 1.0) +li.size_hint_align_set(-1.0, -1.0) +box0.pack_end(li); +li.show(); + +for item in items: + print item[0] + li.item_append(item[0], None, None, item[1]); + +li.go(); + +#fr = elementary.Frame(win); +#fr.label_set("Information"); +#box0.pack_end(fr); +#fr.show(); + +#lb = elementary.Label(win); +#lb.label_set("Please select a test from the list below<br>"); +#fr.content_set(lb); +#lb.show(); + +win.resize(320,520); +box0.show(); +win.show(); +elementary.run(); +elementary.shutdown(); + + + diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/list_test_elem.py b/src/YalpClients/EflClient/tmp/root/EflClient/list_test_elem.py new file mode 100755 index 0000000..74d5122 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/list_test_elem.py @@ -0,0 +1,54 @@ +#!/usr/bin/env python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import evas +import elementary + +#from omniORB import CORBA, PortableServer +#import CosNaming, YalpInterfaces, YalpInterfaces__POA + +def huhu(obj, it, xyz): + print "guck guck" + +def gui(): + elementary.init() + win = elementary.Window("test", elementary.ELM_WIN_BASIC) + + edje_file = os.path.join(os.path.dirname(sys.argv[0]), "list_test.edj") + c = edje.Edje(win.canvas, file = edje_file, group = "huhu") + + items = [("huhu", huhu), + ("haha", huhu), + ("hoho", huhu), + ("hehe", huhu), + ("hihi", huhu)] + + medialist = elementary.List(win); + medialist.size_hint_weight_set(1.0, 1.0) + medialist.size_hint_align_set(-1.0, -1.0) + + box0 = elementary.Box(win) + win.resize_object_add(box0) + c.part_swallow("list", medialist) + + box0.pack_end(medialist) + medialist.show() + + for item in items: + print item[0] + medialist.item_append(item[0], None, None, item[1]) + + medialist.go() + + c.show() + win.resize(800, 600) + box0.show() + win.show() + elementary.run() + +gui() diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/media.py b/src/YalpClients/EflClient/tmp/root/EflClient/media.py new file mode 100755 index 0000000..0e06814 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/media.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python +import socket +import emotion +import playlist +import YalpInterfaces, CosNaming, YalpInterfaces__POA +import evas.c_evas + +class Media(object): + def __init__(self, result, video, servercon, win, c): + self.result = result + self.servercon = servercon + self.win = win + self.c = c + self.video = video + + def callback(self, obj, str): + songlist = [] + songlist.append(self.result) + self.video.set_stream(songlist, self.servercon) diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/medialist.py b/src/YalpClients/EflClient/tmp/root/EflClient/medialist.py new file mode 100755 index 0000000..f767da3 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/medialist.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import evas +import elementary + +import playlist + +class Medialist(object): + def __init__(self, win, c): + self.win = win + self.c = c + self.medialist = elementary.List(self.win); + self.medialist.size_hint_weight_set(1.0, 1.0) + self.medialist.size_hint_align_set(-1.0, -1.0) + self.c.part_swallow("medialist", self.medialist) + self.medialist.show() + + def add_media(self, media): + print media + self.medialist.item_append(media.result.name, None, None, media.callback) + self.medialist.go() diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/playlist.py b/src/YalpClients/EflClient/tmp/root/EflClient/playlist.py new file mode 100755 index 0000000..6e356c7 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/playlist.py @@ -0,0 +1,109 @@ +#!/usr/bin/env python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import evas +import elementary +import YalpInterfaces, CosNaming, YalpInterfaces__POA +import evas.c_evas + +import media + +class Selection(object): + def __init__(self, win, c): + self.win = win + self.c = c + self.add_button() + self.c.signal_callback_add("mouse,clicked,1", "medialist_buttonframe", + self.play_video) + self.vid = emotion.Emotion(self.win.canvas, module_filename="xine") + + self.is_playing = False + + def add_button(self): + self.addbutton = elementary.Button(self.win) + self.addbutton.label_set("Play") + self.c.part_swallow("medialist_buttonframe", self.addbutton) + self.addbutton.show() + + self.pausebutton = elementary.Button(self.win) + self.pausebutton.label_set("Pause") + self.c.part_swallow("pause_buttonframe", self.pausebutton) + self.pausebutton.show() + + self.hidebutton = elementary.Button(self.win) + self.hidebutton.label_set("Hide") + self.c.part_swallow("hide_buttonframe", self.hidebutton) + self.hidebutton.show() + + self.stopbutton = elementary.Button(self.win) + self.stopbutton.label_set("Stop") + self.c.part_swallow("stop_buttonframe", self.stopbutton) + self.stopbutton.show() + + def set_stream(self, songs, servercon): + self.songlist = songs + self.servercon = servercon + + def play_video(self, dummy, dumm, duemmer): + ip = "10.0.3.180" + port = 9993 + #self.vid = emotion.Emotion(self.win.canvas, module_filename="xine") + if self.is_playing == True: + self.vid = emotion.Emotion(self.win.canvas, module_filename="xine") + self.stream.outputAction = YalpInterfaces.PLAY + ret = self.servercon.control(self.stream) + self.vid.file_set("http://"+ip+":"+str(port)) + self.c.part_swallow("video", self.vid) + self.vid.show() + self.vid.play = True + + + if self.is_playing == False: + #self.vid = emotion.Emotion(self.win.canvas, module_filename="xine") + self.addbutton.visible = False + + self.c.signal_callback_add("mouse,clicked,1", "pause_buttonframe", + self.pause_video) + self.c.signal_callback_add("mouse,clicked,1", "stop_buttonframe", + self.stop_video) + + self.info = YalpInterfaces.AccessInfo("huhu1", "huhu", "xine", + "openmoko",YalpInterfaces.STREAM) + self.stream = YalpInterfaces.Output(0, self.info, self.songlist, + YalpInterfaces.CREATE, ip) + ret = self.servercon.control(self.stream) + self.stream.outputAction = YalpInterfaces.START + ret = self.servercon.control(self.stream) + print "stream.info:", self.stream.info + + print "stream from", ip, port + self.vid.file_set("http://"+ip+":"+str(port)) + self.c.part_swallow("video", self.vid) + + self.vid.show() + self.vid.play = True + self.is_playing = True + + def pause_video(self, huhu, haha, hoho): + self.stream.outputAction = YalpInterfaces.PAUSE + ret = self.servercon.control(self.stream) + self.vid.delete() + def stop_video(self, huhu, haha, hoho): + self.stream.outputAction = YalpInterfaces.STOP + ret = self.servercon.control(self.stream) + self.stream.outputAction = YalpInterfaces.DELETE + ret = self.servercon.control(self.stream) + + self.vid.play = False + self.vid.file_set("") + self.vid.hide() + self.is_playing = False + + #def continue_video(self, huhu, haha, hoho): + #self.stream.outputAction = YalpInterfaces.PLAY + #ret = self.servercon.control(self.stream) diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/searchframe.py b/src/YalpClients/EflClient/tmp/root/EflClient/searchframe.py new file mode 100755 index 0000000..c787ada --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/searchframe.py @@ -0,0 +1,47 @@ +#!/usr/bin/env python + +import edje +import ecore.evas +import sys +import os +import ecore +import emotion +import evas +import elementary + +import client + +class Search(object): + def __init__(self, win, c): + self.win = win + self.c = c + self.searchfield() + self.add_button() + c.signal_callback_add("mouse,clicked,1","find_buttonframe", + self.findbutton_clicked) + + def findbutton_clicked(self, obj, signal,source): + searchentry = textfield.entry_get() + co = client.Corba(self.win, self.c) + co.corba_search(searchentry) + + def add_button(self): + findbutton = elementary.Button(self.win) + findbutton.label_set("Find...") + self.c.part_swallow("find_buttonframe", findbutton) + findbutton.show() + + def searchfield(self): + global textfield + searchframe = elementary.Frame(self.win) + textfield = elementary.Entry(self.win) + textfield.single_line_set(True) + textfield.entry_set("") + + self.c.part_swallow("searcharea", searchframe) + textfield.editable_set(True) + textfield.color_set(50,50,50,50) + searchframe.content_set(textfield) + + searchframe.show() + textfield.show() diff --git a/src/YalpClients/EflClient/tmp/root/EflClient/yalp_idl.py b/src/YalpClients/EflClient/tmp/root/EflClient/yalp_idl.py new file mode 100644 index 0000000..0922aa9 --- /dev/null +++ b/src/YalpClients/EflClient/tmp/root/EflClient/yalp_idl.py @@ -0,0 +1,728 @@ +# Python stubs generated by omniidl from ../../yalp.idl + +import omniORB, _omnipy +from omniORB import CORBA, PortableServer +_0_CORBA = CORBA + +_omnipy.checkVersion(3,0, __file__) + + +# +# Start of module "YalpInterfaces" +# +__name__ = "YalpInterfaces" +_0_YalpInterfaces = omniORB.openModule("YalpInterfaces", r"../../yalp.idl") +_0_YalpInterfaces__POA = omniORB.openModule("YalpInterfaces__POA", r"../../yalp.idl") + + +# enum YalpErrorCode +_0_YalpInterfaces.OK = omniORB.EnumItem("OK", 0) +_0_YalpInterfaces.ERROR_SQL = omniORB.EnumItem("ERROR_SQL", 1) +_0_YalpInterfaces.ERROR_OUTPUT_PLUGIN_NA = omniORB.EnumItem("ERROR_OUTPUT_PLUGIN_NA", 2) +_0_YalpInterfaces.ERROR_UNDEFINED = omniORB.EnumItem("ERROR_UNDEFINED", 3) +_0_YalpInterfaces.YalpErrorCode = omniORB.Enum("IDL:YalpInterfaces/YalpErrorCode:1.0", (_0_YalpInterfaces.OK, _0_YalpInterfaces.ERROR_SQL, _0_YalpInterfaces.ERROR_OUTPUT_PLUGIN_NA, _0_YalpInterfaces.ERROR_UNDEFINED,)) + +_0_YalpInterfaces._d_YalpErrorCode = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.YalpErrorCode._NP_RepositoryId, "YalpErrorCode", _0_YalpInterfaces.YalpErrorCode._items) +_0_YalpInterfaces._tc_YalpErrorCode = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_YalpErrorCode) +omniORB.registerType(_0_YalpInterfaces.YalpErrorCode._NP_RepositoryId, _0_YalpInterfaces._d_YalpErrorCode, _0_YalpInterfaces._tc_YalpErrorCode) + +# enum YalpErrorLevel +_0_YalpInterfaces.ERROR_LEVEL_DEBUG = omniORB.EnumItem("ERROR_LEVEL_DEBUG", 0) +_0_YalpInterfaces.ERROR_LEVEL_INFO = omniORB.EnumItem("ERROR_LEVEL_INFO", 1) +_0_YalpInterfaces.ERROR_LEVEL_ERROR = omniORB.EnumItem("ERROR_LEVEL_ERROR", 2) +_0_YalpInterfaces.ERROR_LEVEL_CRITICAL = omniORB.EnumItem("ERROR_LEVEL_CRITICAL", 3) +_0_YalpInterfaces.YalpErrorLevel = omniORB.Enum("IDL:YalpInterfaces/YalpErrorLevel:1.0", (_0_YalpInterfaces.ERROR_LEVEL_DEBUG, _0_YalpInterfaces.ERROR_LEVEL_INFO, _0_YalpInterfaces.ERROR_LEVEL_ERROR, _0_YalpInterfaces.ERROR_LEVEL_CRITICAL,)) + +_0_YalpInterfaces._d_YalpErrorLevel = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.YalpErrorLevel._NP_RepositoryId, "YalpErrorLevel", _0_YalpInterfaces.YalpErrorLevel._items) +_0_YalpInterfaces._tc_YalpErrorLevel = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_YalpErrorLevel) +omniORB.registerType(_0_YalpInterfaces.YalpErrorLevel._NP_RepositoryId, _0_YalpInterfaces._d_YalpErrorLevel, _0_YalpInterfaces._tc_YalpErrorLevel) + +# struct YalpError +_0_YalpInterfaces.YalpError = omniORB.newEmptyClass() +class YalpError (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/YalpError:1.0" + + def __init__(self, msg, code, level, descr): + self.msg = msg + self.code = code + self.level = level + self.descr = descr + +_0_YalpInterfaces.YalpError = YalpError +_0_YalpInterfaces._d_YalpError = (omniORB.tcInternal.tv_struct, YalpError, YalpError._NP_RepositoryId, "YalpError", "msg", (omniORB.tcInternal.tv_string,0), "code", omniORB.typeMapping["IDL:YalpInterfaces/YalpErrorCode:1.0"], "level", omniORB.typeMapping["IDL:YalpInterfaces/YalpErrorLevel:1.0"], "descr", (omniORB.tcInternal.tv_string,0)) +_0_YalpInterfaces._tc_YalpError = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_YalpError) +omniORB.registerType(YalpError._NP_RepositoryId, _0_YalpInterfaces._d_YalpError, _0_YalpInterfaces._tc_YalpError) +del YalpError + +# struct YalpFile +_0_YalpInterfaces.YalpFile = omniORB.newEmptyClass() +class YalpFile (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/YalpFile:1.0" + + def __init__(self, isDir, name, parent): + self.isDir = isDir + self.name = name + self.parent = parent + +_0_YalpInterfaces.YalpFile = YalpFile +_0_YalpInterfaces._d_YalpFile = (omniORB.tcInternal.tv_struct, YalpFile, YalpFile._NP_RepositoryId, "YalpFile", "isDir", omniORB.tcInternal.tv_boolean, "name", (omniORB.tcInternal.tv_string,0), "parent", (omniORB.tcInternal.tv_string,0)) +_0_YalpInterfaces._tc_YalpFile = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_YalpFile) +omniORB.registerType(YalpFile._NP_RepositoryId, _0_YalpInterfaces._d_YalpFile, _0_YalpInterfaces._tc_YalpFile) +del YalpFile + +# typedef ... YalpFiles +class YalpFiles: + _NP_RepositoryId = "IDL:YalpInterfaces/YalpFiles:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.YalpFiles = YalpFiles +_0_YalpInterfaces._d_YalpFiles = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/YalpFile:1.0"], 0) +_0_YalpInterfaces._ad_YalpFiles = (omniORB.tcInternal.tv_alias, YalpFiles._NP_RepositoryId, "YalpFiles", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/YalpFile:1.0"], 0)) +_0_YalpInterfaces._tc_YalpFiles = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_YalpFiles) +omniORB.registerType(YalpFiles._NP_RepositoryId, _0_YalpInterfaces._ad_YalpFiles, _0_YalpInterfaces._tc_YalpFiles) +del YalpFiles + +# struct StreamCounter +_0_YalpInterfaces.StreamCounter = omniORB.newEmptyClass() +class StreamCounter (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/StreamCounter:1.0" + + def __init__(self, actualStreams, allStreams): + self.actualStreams = actualStreams + self.allStreams = allStreams + +_0_YalpInterfaces.StreamCounter = StreamCounter +_0_YalpInterfaces._d_StreamCounter = (omniORB.tcInternal.tv_struct, StreamCounter, StreamCounter._NP_RepositoryId, "StreamCounter", "actualStreams", omniORB.tcInternal.tv_ulong, "allStreams", omniORB.tcInternal.tv_ulong) +_0_YalpInterfaces._tc_StreamCounter = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_StreamCounter) +omniORB.registerType(StreamCounter._NP_RepositoryId, _0_YalpInterfaces._d_StreamCounter, _0_YalpInterfaces._tc_StreamCounter) +del StreamCounter + +# enum AccessRights +_0_YalpInterfaces.ADMIN = omniORB.EnumItem("ADMIN", 0) +_0_YalpInterfaces.USER = omniORB.EnumItem("USER", 1) +_0_YalpInterfaces.NO_YALP_SERVER = omniORB.EnumItem("NO_YALP_SERVER", 2) +_0_YalpInterfaces.DENY = omniORB.EnumItem("DENY", 3) +_0_YalpInterfaces.AccessRights = omniORB.Enum("IDL:YalpInterfaces/AccessRights:1.0", (_0_YalpInterfaces.ADMIN, _0_YalpInterfaces.USER, _0_YalpInterfaces.NO_YALP_SERVER, _0_YalpInterfaces.DENY,)) + +_0_YalpInterfaces._d_AccessRights = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.AccessRights._NP_RepositoryId, "AccessRights", _0_YalpInterfaces.AccessRights._items) +_0_YalpInterfaces._tc_AccessRights = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_AccessRights) +omniORB.registerType(_0_YalpInterfaces.AccessRights._NP_RepositoryId, _0_YalpInterfaces._d_AccessRights, _0_YalpInterfaces._tc_AccessRights) + +# struct YalpUser +_0_YalpInterfaces.YalpUser = omniORB.newEmptyClass() +class YalpUser (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/YalpUser:1.0" + + def __init__(self, id, name, realName, level): + self.id = id + self.name = name + self.realName = realName + self.level = level + +_0_YalpInterfaces.YalpUser = YalpUser +_0_YalpInterfaces._d_YalpUser = (omniORB.tcInternal.tv_struct, YalpUser, YalpUser._NP_RepositoryId, "YalpUser", "id", omniORB.tcInternal.tv_ulong, "name", (omniORB.tcInternal.tv_string,0), "realName", (omniORB.tcInternal.tv_string,0), "level", omniORB.typeMapping["IDL:YalpInterfaces/AccessRights:1.0"]) +_0_YalpInterfaces._tc_YalpUser = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_YalpUser) +omniORB.registerType(YalpUser._NP_RepositoryId, _0_YalpInterfaces._d_YalpUser, _0_YalpInterfaces._tc_YalpUser) +del YalpUser + +# typedef ... Users +class Users: + _NP_RepositoryId = "IDL:YalpInterfaces/Users:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.Users = Users +_0_YalpInterfaces._d_Users = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], 0) +_0_YalpInterfaces._ad_Users = (omniORB.tcInternal.tv_alias, Users._NP_RepositoryId, "Users", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], 0)) +_0_YalpInterfaces._tc_Users = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_Users) +omniORB.registerType(Users._NP_RepositoryId, _0_YalpInterfaces._ad_Users, _0_YalpInterfaces._tc_Users) +del Users + +# enum MediaType +_0_YalpInterfaces.IMAGE = omniORB.EnumItem("IMAGE", 0) +_0_YalpInterfaces.VIDEO = omniORB.EnumItem("VIDEO", 1) +_0_YalpInterfaces.SOUND = omniORB.EnumItem("SOUND", 2) +_0_YalpInterfaces.OTHER = omniORB.EnumItem("OTHER", 3) +_0_YalpInterfaces.MediaType = omniORB.Enum("IDL:YalpInterfaces/MediaType:1.0", (_0_YalpInterfaces.IMAGE, _0_YalpInterfaces.VIDEO, _0_YalpInterfaces.SOUND, _0_YalpInterfaces.OTHER,)) + +_0_YalpInterfaces._d_MediaType = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.MediaType._NP_RepositoryId, "MediaType", _0_YalpInterfaces.MediaType._items) +_0_YalpInterfaces._tc_MediaType = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_MediaType) +omniORB.registerType(_0_YalpInterfaces.MediaType._NP_RepositoryId, _0_YalpInterfaces._d_MediaType, _0_YalpInterfaces._tc_MediaType) + +# typedef ... MediaTypes +class MediaTypes: + _NP_RepositoryId = "IDL:YalpInterfaces/MediaTypes:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.MediaTypes = MediaTypes +_0_YalpInterfaces._d_MediaTypes = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/MediaType:1.0"], 0) +_0_YalpInterfaces._ad_MediaTypes = (omniORB.tcInternal.tv_alias, MediaTypes._NP_RepositoryId, "MediaTypes", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/MediaType:1.0"], 0)) +_0_YalpInterfaces._tc_MediaTypes = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_MediaTypes) +omniORB.registerType(MediaTypes._NP_RepositoryId, _0_YalpInterfaces._ad_MediaTypes, _0_YalpInterfaces._tc_MediaTypes) +del MediaTypes + +# struct StringProperty +_0_YalpInterfaces.StringProperty = omniORB.newEmptyClass() +class StringProperty (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/StringProperty:1.0" + + def __init__(self, property, value): + self.property = property + self.value = value + +_0_YalpInterfaces.StringProperty = StringProperty +_0_YalpInterfaces._d_StringProperty = (omniORB.tcInternal.tv_struct, StringProperty, StringProperty._NP_RepositoryId, "StringProperty", "property", (omniORB.tcInternal.tv_string,0), "value", (omniORB.tcInternal.tv_string,0)) +_0_YalpInterfaces._tc_StringProperty = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_StringProperty) +omniORB.registerType(StringProperty._NP_RepositoryId, _0_YalpInterfaces._d_StringProperty, _0_YalpInterfaces._tc_StringProperty) +del StringProperty + +# typedef ... StringProperties +class StringProperties: + _NP_RepositoryId = "IDL:YalpInterfaces/StringProperties:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.StringProperties = StringProperties +_0_YalpInterfaces._d_StringProperties = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/StringProperty:1.0"], 0) +_0_YalpInterfaces._ad_StringProperties = (omniORB.tcInternal.tv_alias, StringProperties._NP_RepositoryId, "StringProperties", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/StringProperty:1.0"], 0)) +_0_YalpInterfaces._tc_StringProperties = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_StringProperties) +omniORB.registerType(StringProperties._NP_RepositoryId, _0_YalpInterfaces._ad_StringProperties, _0_YalpInterfaces._tc_StringProperties) +del StringProperties + +# struct IntProperty +_0_YalpInterfaces.IntProperty = omniORB.newEmptyClass() +class IntProperty (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/IntProperty:1.0" + + def __init__(self, property, value): + self.property = property + self.value = value + +_0_YalpInterfaces.IntProperty = IntProperty +_0_YalpInterfaces._d_IntProperty = (omniORB.tcInternal.tv_struct, IntProperty, IntProperty._NP_RepositoryId, "IntProperty", "property", (omniORB.tcInternal.tv_string,0), "value", omniORB.tcInternal.tv_long) +_0_YalpInterfaces._tc_IntProperty = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_IntProperty) +omniORB.registerType(IntProperty._NP_RepositoryId, _0_YalpInterfaces._d_IntProperty, _0_YalpInterfaces._tc_IntProperty) +del IntProperty + +# typedef ... IntProperties +class IntProperties: + _NP_RepositoryId = "IDL:YalpInterfaces/IntProperties:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.IntProperties = IntProperties +_0_YalpInterfaces._d_IntProperties = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/IntProperty:1.0"], 0) +_0_YalpInterfaces._ad_IntProperties = (omniORB.tcInternal.tv_alias, IntProperties._NP_RepositoryId, "IntProperties", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/IntProperty:1.0"], 0)) +_0_YalpInterfaces._tc_IntProperties = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_IntProperties) +omniORB.registerType(IntProperties._NP_RepositoryId, _0_YalpInterfaces._ad_IntProperties, _0_YalpInterfaces._tc_IntProperties) +del IntProperties + +# typedef ... MediaTags +class MediaTags: + _NP_RepositoryId = "IDL:YalpInterfaces/MediaTags:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.MediaTags = MediaTags +_0_YalpInterfaces._d_MediaTags = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0) +_0_YalpInterfaces._ad_MediaTags = (omniORB.tcInternal.tv_alias, MediaTags._NP_RepositoryId, "MediaTags", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)) +_0_YalpInterfaces._tc_MediaTags = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_MediaTags) +omniORB.registerType(MediaTags._NP_RepositoryId, _0_YalpInterfaces._ad_MediaTags, _0_YalpInterfaces._tc_MediaTags) +del MediaTags + +# struct Media +_0_YalpInterfaces.Media = omniORB.newEmptyClass() +class Media (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/Media:1.0" + + def __init__(self, name, id, type, inputPluginId, owner, lastEdit, path, fileName, duration, stringProps, intProps, tags): + self.name = name + self.id = id + self.type = type + self.inputPluginId = inputPluginId + self.owner = owner + self.lastEdit = lastEdit + self.path = path + self.fileName = fileName + self.duration = duration + self.stringProps = stringProps + self.intProps = intProps + self.tags = tags + +_0_YalpInterfaces.Media = Media +_0_YalpInterfaces._d_Media = (omniORB.tcInternal.tv_struct, Media, Media._NP_RepositoryId, "Media", "name", (omniORB.tcInternal.tv_string,0), "id", omniORB.tcInternal.tv_ulong, "type", omniORB.typeMapping["IDL:YalpInterfaces/MediaType:1.0"], "inputPluginId", omniORB.tcInternal.tv_ulong, "owner", omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], "lastEdit", (omniORB.tcInternal.tv_string,0), "path", (omniORB.tcInternal.tv_string,0), "fileName", (omniORB.tcInternal.tv_string,0), "duration", (omniORB.tcInternal.tv_string,0), "stringProps", omniORB.typeMapping["IDL:YalpInterfaces/StringProperties:1.0"], "intProps", omniORB.typeMapping["IDL:YalpInterfaces/IntProperties:1.0"], "tags", omniORB.typeMapping["IDL:YalpInterfaces/MediaTags:1.0"]) +_0_YalpInterfaces._tc_Media = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_Media) +omniORB.registerType(Media._NP_RepositoryId, _0_YalpInterfaces._d_Media, _0_YalpInterfaces._tc_Media) +del Media + +# typedef ... Medias +class Medias: + _NP_RepositoryId = "IDL:YalpInterfaces/Medias:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.Medias = Medias +_0_YalpInterfaces._d_Medias = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/Media:1.0"], 0) +_0_YalpInterfaces._ad_Medias = (omniORB.tcInternal.tv_alias, Medias._NP_RepositoryId, "Medias", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/Media:1.0"], 0)) +_0_YalpInterfaces._tc_Medias = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_Medias) +omniORB.registerType(Medias._NP_RepositoryId, _0_YalpInterfaces._ad_Medias, _0_YalpInterfaces._tc_Medias) +del Medias + +# enum Action +_0_YalpInterfaces.START = omniORB.EnumItem("START", 0) +_0_YalpInterfaces.PLAY = omniORB.EnumItem("PLAY", 1) +_0_YalpInterfaces.PAUSE = omniORB.EnumItem("PAUSE", 2) +_0_YalpInterfaces.STOP = omniORB.EnumItem("STOP", 3) +_0_YalpInterfaces.FORWARD = omniORB.EnumItem("FORWARD", 4) +_0_YalpInterfaces.BACKWARD = omniORB.EnumItem("BACKWARD", 5) +_0_YalpInterfaces.CREATE = omniORB.EnumItem("CREATE", 6) +_0_YalpInterfaces.EDIT = omniORB.EnumItem("EDIT", 7) +_0_YalpInterfaces.DELETE = omniORB.EnumItem("DELETE", 8) +_0_YalpInterfaces.Action = omniORB.Enum("IDL:YalpInterfaces/Action:1.0", (_0_YalpInterfaces.START, _0_YalpInterfaces.PLAY, _0_YalpInterfaces.PAUSE, _0_YalpInterfaces.STOP, _0_YalpInterfaces.FORWARD, _0_YalpInterfaces.BACKWARD, _0_YalpInterfaces.CREATE, _0_YalpInterfaces.EDIT, _0_YalpInterfaces.DELETE,)) + +_0_YalpInterfaces._d_Action = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.Action._NP_RepositoryId, "Action", _0_YalpInterfaces.Action._items) +_0_YalpInterfaces._tc_Action = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_Action) +omniORB.registerType(_0_YalpInterfaces.Action._NP_RepositoryId, _0_YalpInterfaces._d_Action, _0_YalpInterfaces._tc_Action) + +# typedef ... Actions +class Actions: + _NP_RepositoryId = "IDL:YalpInterfaces/Actions:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.Actions = Actions +_0_YalpInterfaces._d_Actions = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"], 0) +_0_YalpInterfaces._ad_Actions = (omniORB.tcInternal.tv_alias, Actions._NP_RepositoryId, "Actions", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"], 0)) +_0_YalpInterfaces._tc_Actions = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_Actions) +omniORB.registerType(Actions._NP_RepositoryId, _0_YalpInterfaces._ad_Actions, _0_YalpInterfaces._tc_Actions) +del Actions + +# enum AccessType +_0_YalpInterfaces.FILE = omniORB.EnumItem("FILE", 0) +_0_YalpInterfaces.FILES = omniORB.EnumItem("FILES", 1) +_0_YalpInterfaces.STREAM = omniORB.EnumItem("STREAM", 2) +_0_YalpInterfaces.AccessType = omniORB.Enum("IDL:YalpInterfaces/AccessType:1.0", (_0_YalpInterfaces.FILE, _0_YalpInterfaces.FILES, _0_YalpInterfaces.STREAM,)) + +_0_YalpInterfaces._d_AccessType = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.AccessType._NP_RepositoryId, "AccessType", _0_YalpInterfaces.AccessType._items) +_0_YalpInterfaces._tc_AccessType = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_AccessType) +omniORB.registerType(_0_YalpInterfaces.AccessType._NP_RepositoryId, _0_YalpInterfaces._d_AccessType, _0_YalpInterfaces._tc_AccessType) + +# enum EncodingType +_0_YalpInterfaces.UNKNOWN = omniORB.EnumItem("UNKNOWN", 0) +_0_YalpInterfaces.MP3 = omniORB.EnumItem("MP3", 1) +_0_YalpInterfaces.MPG = omniORB.EnumItem("MPG", 2) +_0_YalpInterfaces.MPEG = omniORB.EnumItem("MPEG", 3) +_0_YalpInterfaces.AVI = omniORB.EnumItem("AVI", 4) +_0_YalpInterfaces.MOV = omniORB.EnumItem("MOV", 5) +_0_YalpInterfaces.M2T = omniORB.EnumItem("M2T", 6) +_0_YalpInterfaces.JPEG = omniORB.EnumItem("JPEG", 7) +_0_YalpInterfaces.JPG = omniORB.EnumItem("JPG", 8) +_0_YalpInterfaces.TIFF = omniORB.EnumItem("TIFF", 9) +_0_YalpInterfaces.EncodingType = omniORB.Enum("IDL:YalpInterfaces/EncodingType:1.0", (_0_YalpInterfaces.UNKNOWN, _0_YalpInterfaces.MP3, _0_YalpInterfaces.MPG, _0_YalpInterfaces.MPEG, _0_YalpInterfaces.AVI, _0_YalpInterfaces.MOV, _0_YalpInterfaces.M2T, _0_YalpInterfaces.JPEG, _0_YalpInterfaces.JPG, _0_YalpInterfaces.TIFF,)) + +_0_YalpInterfaces._d_EncodingType = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.EncodingType._NP_RepositoryId, "EncodingType", _0_YalpInterfaces.EncodingType._items) +_0_YalpInterfaces._tc_EncodingType = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_EncodingType) +omniORB.registerType(_0_YalpInterfaces.EncodingType._NP_RepositoryId, _0_YalpInterfaces._d_EncodingType, _0_YalpInterfaces._tc_EncodingType) + +# struct AccessInfo +_0_YalpInterfaces.AccessInfo = omniORB.newEmptyClass() +class AccessInfo (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/AccessInfo:1.0" + + def __init__(self, name, description, executable, params, type): + self.name = name + self.description = description + self.executable = executable + self.params = params + self.type = type + +_0_YalpInterfaces.AccessInfo = AccessInfo +_0_YalpInterfaces._d_AccessInfo = (omniORB.tcInternal.tv_struct, AccessInfo, AccessInfo._NP_RepositoryId, "AccessInfo", "name", (omniORB.tcInternal.tv_string,0), "description", (omniORB.tcInternal.tv_string,0), "executable", (omniORB.tcInternal.tv_string,0), "params", (omniORB.tcInternal.tv_string,0), "type", omniORB.typeMapping["IDL:YalpInterfaces/AccessType:1.0"]) +_0_YalpInterfaces._tc_AccessInfo = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_AccessInfo) +omniORB.registerType(AccessInfo._NP_RepositoryId, _0_YalpInterfaces._d_AccessInfo, _0_YalpInterfaces._tc_AccessInfo) +del AccessInfo + +# struct Output +_0_YalpInterfaces.Output = omniORB.newEmptyClass() +class Output (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/Output:1.0" + + def __init__(self, id, info, playlist, outputAction, destIp): + self.id = id + self.info = info + self.playlist = playlist + self.outputAction = outputAction + self.destIp = destIp + +_0_YalpInterfaces.Output = Output +_0_YalpInterfaces._d_Output = (omniORB.tcInternal.tv_struct, Output, Output._NP_RepositoryId, "Output", "id", omniORB.tcInternal.tv_ulong, "info", omniORB.typeMapping["IDL:YalpInterfaces/AccessInfo:1.0"], "playlist", omniORB.typeMapping["IDL:YalpInterfaces/Medias:1.0"], "outputAction", omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"], "destIp", (omniORB.tcInternal.tv_string,0)) +_0_YalpInterfaces._tc_Output = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_Output) +omniORB.registerType(Output._NP_RepositoryId, _0_YalpInterfaces._d_Output, _0_YalpInterfaces._tc_Output) +del Output + +# enum PluginType +_0_YalpInterfaces.INPUT_PLUGIN = omniORB.EnumItem("INPUT_PLUGIN", 0) +_0_YalpInterfaces.OUTPUT_PLUGIN = omniORB.EnumItem("OUTPUT_PLUGIN", 1) +_0_YalpInterfaces.AUTH_PLUGIN = omniORB.EnumItem("AUTH_PLUGIN", 2) +_0_YalpInterfaces.PluginType = omniORB.Enum("IDL:YalpInterfaces/PluginType:1.0", (_0_YalpInterfaces.INPUT_PLUGIN, _0_YalpInterfaces.OUTPUT_PLUGIN, _0_YalpInterfaces.AUTH_PLUGIN,)) + +_0_YalpInterfaces._d_PluginType = (omniORB.tcInternal.tv_enum, _0_YalpInterfaces.PluginType._NP_RepositoryId, "PluginType", _0_YalpInterfaces.PluginType._items) +_0_YalpInterfaces._tc_PluginType = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_PluginType) +omniORB.registerType(_0_YalpInterfaces.PluginType._NP_RepositoryId, _0_YalpInterfaces._d_PluginType, _0_YalpInterfaces._tc_PluginType) + +# struct PluginInfo +_0_YalpInterfaces.PluginInfo = omniORB.newEmptyClass() +class PluginInfo (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/PluginInfo:1.0" + + def __init__(self, id, name, description, type, supportedTypes, access, maxClients, actClients): + self.id = id + self.name = name + self.description = description + self.type = type + self.supportedTypes = supportedTypes + self.access = access + self.maxClients = maxClients + self.actClients = actClients + +_0_YalpInterfaces.PluginInfo = PluginInfo +_0_YalpInterfaces._d_PluginInfo = (omniORB.tcInternal.tv_struct, PluginInfo, PluginInfo._NP_RepositoryId, "PluginInfo", "id", omniORB.tcInternal.tv_ulong, "name", (omniORB.tcInternal.tv_string,0), "description", (omniORB.tcInternal.tv_string,0), "type", omniORB.typeMapping["IDL:YalpInterfaces/PluginType:1.0"], "supportedTypes", omniORB.typeMapping["IDL:YalpInterfaces/MediaTypes:1.0"], "access", omniORB.typeMapping["IDL:YalpInterfaces/AccessInfo:1.0"], "maxClients", omniORB.tcInternal.tv_ushort, "actClients", omniORB.tcInternal.tv_ushort) +_0_YalpInterfaces._tc_PluginInfo = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_PluginInfo) +omniORB.registerType(PluginInfo._NP_RepositoryId, _0_YalpInterfaces._d_PluginInfo, _0_YalpInterfaces._tc_PluginInfo) +del PluginInfo + +# typedef ... PluginInfos +class PluginInfos: + _NP_RepositoryId = "IDL:YalpInterfaces/PluginInfos:1.0" + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") +_0_YalpInterfaces.PluginInfos = PluginInfos +_0_YalpInterfaces._d_PluginInfos = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], 0) +_0_YalpInterfaces._ad_PluginInfos = (omniORB.tcInternal.tv_alias, PluginInfos._NP_RepositoryId, "PluginInfos", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], 0)) +_0_YalpInterfaces._tc_PluginInfos = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._ad_PluginInfos) +omniORB.registerType(PluginInfos._NP_RepositoryId, _0_YalpInterfaces._ad_PluginInfos, _0_YalpInterfaces._tc_PluginInfos) +del PluginInfos + +# struct Session +_0_YalpInterfaces.Session = omniORB.newEmptyClass() +class Session (omniORB.StructBase): + _NP_RepositoryId = "IDL:YalpInterfaces/Session:1.0" + + def __init__(self, id, me, ip, availablePlugins): + self.id = id + self.me = me + self.ip = ip + self.availablePlugins = availablePlugins + +_0_YalpInterfaces.Session = Session +_0_YalpInterfaces._d_Session = (omniORB.tcInternal.tv_struct, Session, Session._NP_RepositoryId, "Session", "id", omniORB.tcInternal.tv_ulong, "me", omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], "ip", (omniORB.tcInternal.tv_string,0), "availablePlugins", omniORB.typeMapping["IDL:YalpInterfaces/PluginInfos:1.0"]) +_0_YalpInterfaces._tc_Session = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_Session) +omniORB.registerType(Session._NP_RepositoryId, _0_YalpInterfaces._d_Session, _0_YalpInterfaces._tc_Session) +del Session + +# interface OutputPluginInterface +_0_YalpInterfaces._d_OutputPluginInterface = (omniORB.tcInternal.tv_objref, "IDL:YalpInterfaces/OutputPluginInterface:1.0", "OutputPluginInterface") +omniORB.typeMapping["IDL:YalpInterfaces/OutputPluginInterface:1.0"] = _0_YalpInterfaces._d_OutputPluginInterface +_0_YalpInterfaces.OutputPluginInterface = omniORB.newEmptyClass() +class OutputPluginInterface : + _NP_RepositoryId = _0_YalpInterfaces._d_OutputPluginInterface[1] + + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") + + _nil = CORBA.Object._nil + + +_0_YalpInterfaces.OutputPluginInterface = OutputPluginInterface +_0_YalpInterfaces._tc_OutputPluginInterface = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_OutputPluginInterface) +omniORB.registerType(OutputPluginInterface._NP_RepositoryId, _0_YalpInterfaces._d_OutputPluginInterface, _0_YalpInterfaces._tc_OutputPluginInterface) + +# OutputPluginInterface operations and attributes +OutputPluginInterface._d_getInfo = ((), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +OutputPluginInterface._d_control = ((omniORB.typeMapping["IDL:YalpInterfaces/Output:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/Output:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +OutputPluginInterface._d_shutdown = ((), None, None) + +# OutputPluginInterface object reference +class _objref_OutputPluginInterface (CORBA.Object): + _NP_RepositoryId = OutputPluginInterface._NP_RepositoryId + + def __init__(self): + CORBA.Object.__init__(self) + + def getInfo(self, *args): + return _omnipy.invoke(self, "getInfo", _0_YalpInterfaces.OutputPluginInterface._d_getInfo, args) + + def control(self, *args): + return _omnipy.invoke(self, "control", _0_YalpInterfaces.OutputPluginInterface._d_control, args) + + def shutdown(self, *args): + return _omnipy.invoke(self, "shutdown", _0_YalpInterfaces.OutputPluginInterface._d_shutdown, args) + + __methods__ = ["getInfo", "control", "shutdown"] + CORBA.Object.__methods__ + +omniORB.registerObjref(OutputPluginInterface._NP_RepositoryId, _objref_OutputPluginInterface) +_0_YalpInterfaces._objref_OutputPluginInterface = _objref_OutputPluginInterface +del OutputPluginInterface, _objref_OutputPluginInterface + +# OutputPluginInterface skeleton +__name__ = "YalpInterfaces__POA" +class OutputPluginInterface (PortableServer.Servant): + _NP_RepositoryId = _0_YalpInterfaces.OutputPluginInterface._NP_RepositoryId + + + _omni_op_d = {"getInfo": _0_YalpInterfaces.OutputPluginInterface._d_getInfo, "control": _0_YalpInterfaces.OutputPluginInterface._d_control, "shutdown": _0_YalpInterfaces.OutputPluginInterface._d_shutdown} + +OutputPluginInterface._omni_skeleton = OutputPluginInterface +_0_YalpInterfaces__POA.OutputPluginInterface = OutputPluginInterface +omniORB.registerSkeleton(OutputPluginInterface._NP_RepositoryId, OutputPluginInterface) +del OutputPluginInterface +__name__ = "YalpInterfaces" + +# interface InputPluginInterface +_0_YalpInterfaces._d_InputPluginInterface = (omniORB.tcInternal.tv_objref, "IDL:YalpInterfaces/InputPluginInterface:1.0", "InputPluginInterface") +omniORB.typeMapping["IDL:YalpInterfaces/InputPluginInterface:1.0"] = _0_YalpInterfaces._d_InputPluginInterface +_0_YalpInterfaces.InputPluginInterface = omniORB.newEmptyClass() +class InputPluginInterface : + _NP_RepositoryId = _0_YalpInterfaces._d_InputPluginInterface[1] + + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") + + _nil = CORBA.Object._nil + + +_0_YalpInterfaces.InputPluginInterface = InputPluginInterface +_0_YalpInterfaces._tc_InputPluginInterface = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_InputPluginInterface) +omniORB.registerType(InputPluginInterface._NP_RepositoryId, _0_YalpInterfaces._d_InputPluginInterface, _0_YalpInterfaces._tc_InputPluginInterface) + +# InputPluginInterface operations and attributes +InputPluginInterface._d_getInfo = ((), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +InputPluginInterface._d_changeMedia = ((omniORB.typeMapping["IDL:YalpInterfaces/Media:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +InputPluginInterface._d_search = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:YalpInterfaces/MediaTypes:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/Medias:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +InputPluginInterface._d_getNumOfMedias = ((), (omniORB.tcInternal.tv_ulong, omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) + +# InputPluginInterface object reference +class _objref_InputPluginInterface (CORBA.Object): + _NP_RepositoryId = InputPluginInterface._NP_RepositoryId + + def __init__(self): + CORBA.Object.__init__(self) + + def getInfo(self, *args): + return _omnipy.invoke(self, "getInfo", _0_YalpInterfaces.InputPluginInterface._d_getInfo, args) + + def changeMedia(self, *args): + return _omnipy.invoke(self, "changeMedia", _0_YalpInterfaces.InputPluginInterface._d_changeMedia, args) + + def search(self, *args): + return _omnipy.invoke(self, "search", _0_YalpInterfaces.InputPluginInterface._d_search, args) + + def getNumOfMedias(self, *args): + return _omnipy.invoke(self, "getNumOfMedias", _0_YalpInterfaces.InputPluginInterface._d_getNumOfMedias, args) + + __methods__ = ["getInfo", "changeMedia", "search", "getNumOfMedias"] + CORBA.Object.__methods__ + +omniORB.registerObjref(InputPluginInterface._NP_RepositoryId, _objref_InputPluginInterface) +_0_YalpInterfaces._objref_InputPluginInterface = _objref_InputPluginInterface +del InputPluginInterface, _objref_InputPluginInterface + +# InputPluginInterface skeleton +__name__ = "YalpInterfaces__POA" +class InputPluginInterface (PortableServer.Servant): + _NP_RepositoryId = _0_YalpInterfaces.InputPluginInterface._NP_RepositoryId + + + _omni_op_d = {"getInfo": _0_YalpInterfaces.InputPluginInterface._d_getInfo, "changeMedia": _0_YalpInterfaces.InputPluginInterface._d_changeMedia, "search": _0_YalpInterfaces.InputPluginInterface._d_search, "getNumOfMedias": _0_YalpInterfaces.InputPluginInterface._d_getNumOfMedias} + +InputPluginInterface._omni_skeleton = InputPluginInterface +_0_YalpInterfaces__POA.InputPluginInterface = InputPluginInterface +omniORB.registerSkeleton(InputPluginInterface._NP_RepositoryId, InputPluginInterface) +del InputPluginInterface +__name__ = "YalpInterfaces" + +# interface AuthPluginInterface +_0_YalpInterfaces._d_AuthPluginInterface = (omniORB.tcInternal.tv_objref, "IDL:YalpInterfaces/AuthPluginInterface:1.0", "AuthPluginInterface") +omniORB.typeMapping["IDL:YalpInterfaces/AuthPluginInterface:1.0"] = _0_YalpInterfaces._d_AuthPluginInterface +_0_YalpInterfaces.AuthPluginInterface = omniORB.newEmptyClass() +class AuthPluginInterface : + _NP_RepositoryId = _0_YalpInterfaces._d_AuthPluginInterface[1] + + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") + + _nil = CORBA.Object._nil + + +_0_YalpInterfaces.AuthPluginInterface = AuthPluginInterface +_0_YalpInterfaces._tc_AuthPluginInterface = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_AuthPluginInterface) +omniORB.registerType(AuthPluginInterface._NP_RepositoryId, _0_YalpInterfaces._d_AuthPluginInterface, _0_YalpInterfaces._tc_AuthPluginInterface) + +# AuthPluginInterface operations and attributes +AuthPluginInterface._d_getInfo = ((), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +AuthPluginInterface._d_userVerify = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"]), None) +AuthPluginInterface._d_getUser = ((), (omniORB.typeMapping["IDL:YalpInterfaces/Users:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +AuthPluginInterface._d_changeUser = ((omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], (omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) + +# AuthPluginInterface object reference +class _objref_AuthPluginInterface (CORBA.Object): + _NP_RepositoryId = AuthPluginInterface._NP_RepositoryId + + def __init__(self): + CORBA.Object.__init__(self) + + def getInfo(self, *args): + return _omnipy.invoke(self, "getInfo", _0_YalpInterfaces.AuthPluginInterface._d_getInfo, args) + + def userVerify(self, *args): + return _omnipy.invoke(self, "userVerify", _0_YalpInterfaces.AuthPluginInterface._d_userVerify, args) + + def getUser(self, *args): + return _omnipy.invoke(self, "getUser", _0_YalpInterfaces.AuthPluginInterface._d_getUser, args) + + def changeUser(self, *args): + return _omnipy.invoke(self, "changeUser", _0_YalpInterfaces.AuthPluginInterface._d_changeUser, args) + + __methods__ = ["getInfo", "userVerify", "getUser", "changeUser"] + CORBA.Object.__methods__ + +omniORB.registerObjref(AuthPluginInterface._NP_RepositoryId, _objref_AuthPluginInterface) +_0_YalpInterfaces._objref_AuthPluginInterface = _objref_AuthPluginInterface +del AuthPluginInterface, _objref_AuthPluginInterface + +# AuthPluginInterface skeleton +__name__ = "YalpInterfaces__POA" +class AuthPluginInterface (PortableServer.Servant): + _NP_RepositoryId = _0_YalpInterfaces.AuthPluginInterface._NP_RepositoryId + + + _omni_op_d = {"getInfo": _0_YalpInterfaces.AuthPluginInterface._d_getInfo, "userVerify": _0_YalpInterfaces.AuthPluginInterface._d_userVerify, "getUser": _0_YalpInterfaces.AuthPluginInterface._d_getUser, "changeUser": _0_YalpInterfaces.AuthPluginInterface._d_changeUser} + +AuthPluginInterface._omni_skeleton = AuthPluginInterface +_0_YalpInterfaces__POA.AuthPluginInterface = AuthPluginInterface +omniORB.registerSkeleton(AuthPluginInterface._NP_RepositoryId, AuthPluginInterface) +del AuthPluginInterface +__name__ = "YalpInterfaces" + +# interface ServerControlInterface +_0_YalpInterfaces._d_ServerControlInterface = (omniORB.tcInternal.tv_objref, "IDL:YalpInterfaces/ServerControlInterface:1.0", "ServerControlInterface") +omniORB.typeMapping["IDL:YalpInterfaces/ServerControlInterface:1.0"] = _0_YalpInterfaces._d_ServerControlInterface +_0_YalpInterfaces.ServerControlInterface = omniORB.newEmptyClass() +class ServerControlInterface : + _NP_RepositoryId = _0_YalpInterfaces._d_ServerControlInterface[1] + + def __init__(self, *args, **kw): + raise RuntimeError("Cannot construct objects of this type.") + + _nil = CORBA.Object._nil + + +_0_YalpInterfaces.ServerControlInterface = ServerControlInterface +_0_YalpInterfaces._tc_ServerControlInterface = omniORB.tcInternal.createTypeCode(_0_YalpInterfaces._d_ServerControlInterface) +omniORB.registerType(ServerControlInterface._NP_RepositoryId, _0_YalpInterfaces._d_ServerControlInterface, _0_YalpInterfaces._tc_ServerControlInterface) + +# ServerControlInterface operations and attributes +ServerControlInterface._d_clientLogon = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.typeMapping["IDL:YalpInterfaces/Session:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_clientLogoff = ((omniORB.typeMapping["IDL:YalpInterfaces/Session:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_getUser = ((), (omniORB.typeMapping["IDL:YalpInterfaces/Users:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_changeUser = ((omniORB.typeMapping["IDL:YalpInterfaces/YalpUser:1.0"], (omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_changeMedia = ((omniORB.typeMapping["IDL:YalpInterfaces/Media:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/Action:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_getNumOfMedias = ((), (omniORB.tcInternal.tv_ulong, omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_control = ((omniORB.typeMapping["IDL:YalpInterfaces/Output:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/Output:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_search = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:YalpInterfaces/MediaTypes:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/Medias:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_registerOutputPlugin = ((omniORB.typeMapping["IDL:YalpInterfaces/OutputPluginInterface:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_removeOutputPlugin = ((omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_getOutputPlugins = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfos:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_registerInputPlugin = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_removeInputPlugin = ((omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_getInputPlugins = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfos:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_registerAuthPlugin = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"]), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_removeAuthPlugin = ((omniORB.typeMapping["IDL:YalpInterfaces/PluginInfo:1.0"], ), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_getAuthPlugins = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:YalpInterfaces/PluginInfos:1.0"], omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"]), None) +ServerControlInterface._d_ping = ((), (omniORB.typeMapping["IDL:YalpInterfaces/YalpError:1.0"], ), None) +ServerControlInterface._d_serverShutdown = ((), None, None) + +# ServerControlInterface object reference +class _objref_ServerControlInterface (CORBA.Object): + _NP_RepositoryId = ServerControlInterface._NP_RepositoryId + + def __init__(self): + CORBA.Object.__init__(self) + + def clientLogon(self, *args): + return _omnipy.invoke(self, "clientLogon", _0_YalpInterfaces.ServerControlInterface._d_clientLogon, args) + + def clientLogoff(self, *args): + return _omnipy.invoke(self, "clientLogoff", _0_YalpInterfaces.ServerControlInterface._d_clientLogoff, args) + + def getUser(self, *args): + return _omnipy.invoke(self, "getUser", _0_YalpInterfaces.ServerControlInterface._d_getUser, args) + + def changeUser(self, *args): + return _omnipy.invoke(self, "changeUser", _0_YalpInterfaces.ServerControlInterface._d_changeUser, args) + + def changeMedia(self, *args): + return _omnipy.invoke(self, "changeMedia", _0_YalpInterfaces.ServerControlInterface._d_changeMedia, args) + + def getNumOfMedias(self, *args): + return _omnipy.invoke(self, "getNumOfMedias", _0_YalpInterfaces.ServerControlInterface._d_getNumOfMedias, args) + + def control(self, *args): + return _omnipy.invoke(self, "control", _0_YalpInterfaces.ServerControlInterface._d_control, args) + + def search(self, *args): + return _omnipy.invoke(self, "search", _0_YalpInterfaces.ServerControlInterface._d_search, args) + + def registerOutputPlugin(self, *args): + return _omnipy.invoke(self, "registerOutputPlugin", _0_YalpInterfaces.ServerControlInterface._d_registerOutputPlugin, args) + + def removeOutputPlugin(self, *args): + return _omnipy.invoke(self, "removeOutputPlugin", _0_YalpInterfaces.ServerControlInterface._d_removeOutputPlugin, args) + + def getOutputPlugins(self, *args): + return _omnipy.invoke(self, "getOutputPlugins", _0_YalpInterfaces.ServerControlInterface._d_getOutputPlugins, args) + + def registerInputPlugin(self, *args): + return _omnipy.invoke(self, "registerInputPlugin", _0_YalpInterfaces.ServerControlInterface._d_registerInputPlugin, args) + + def removeInputPlugin(self, *args): + return _omnipy.invoke(self, "removeInputPlugin", _0_YalpInterfaces.ServerControlInterface._d_removeInputPlugin, args) + + def getInputPlugins(self, *args): + return _omnipy.invoke(self, "getInputPlugins", _0_YalpInterfaces.ServerControlInterface._d_getInputPlugins, args) + + def registerAuthPlugin(self, *args): + return _omnipy.invoke(self, "registerAuthPlugin", _0_YalpInterfaces.ServerControlInterface._d_registerAuthPlugin, args) + + def removeAuthPlugin(self, *args): + return _omnipy.invoke(self, "removeAuthPlugin", _0_YalpInterfaces.ServerControlInterface._d_removeAuthPlugin, args) + + def getAuthPlugins(self, *args): + return _omnipy.invoke(self, "getAuthPlugins", _0_YalpInterfaces.ServerControlInterface._d_getAuthPlugins, args) + + def ping(self, *args): + return _omnipy.invoke(self, "ping", _0_YalpInterfaces.ServerControlInterface._d_ping, args) + + def serverShutdown(self, *args): + return _omnipy.invoke(self, "serverShutdown", _0_YalpInterfaces.ServerControlInterface._d_serverShutdown, args) + + __methods__ = ["clientLogon", "clientLogoff", "getUser", "changeUser", "changeMedia", "getNumOfMedias", "control", "search", "registerOutputPlugin", "removeOutputPlugin", "getOutputPlugins", "registerInputPlugin", "removeInputPlugin", "getInputPlugins", "registerAuthPlugin", "removeAuthPlugin", "getAuthPlugins", "ping", "serverShutdown"] + CORBA.Object.__methods__ + +omniORB.registerObjref(ServerControlInterface._NP_RepositoryId, _objref_ServerControlInterface) +_0_YalpInterfaces._objref_ServerControlInterface = _objref_ServerControlInterface +del ServerControlInterface, _objref_ServerControlInterface + +# ServerControlInterface skeleton +__name__ = "YalpInterfaces__POA" +class ServerControlInterface (PortableServer.Servant): + _NP_RepositoryId = _0_YalpInterfaces.ServerControlInterface._NP_RepositoryId + + + _omni_op_d = {"clientLogon": _0_YalpInterfaces.ServerControlInterface._d_clientLogon, "clientLogoff": _0_YalpInterfaces.ServerControlInterface._d_clientLogoff, "getUser": _0_YalpInterfaces.ServerControlInterface._d_getUser, "changeUser": _0_YalpInterfaces.ServerControlInterface._d_changeUser, "changeMedia": _0_YalpInterfaces.ServerControlInterface._d_changeMedia, "getNumOfMedias": _0_YalpInterfaces.ServerControlInterface._d_getNumOfMedias, "control": _0_YalpInterfaces.ServerControlInterface._d_control, "search": _0_YalpInterfaces.ServerControlInterface._d_search, "registerOutputPlugin": _0_YalpInterfaces.ServerControlInterface._d_registerOutputPlugin, "removeOutputPlugin": _0_YalpInterfaces.ServerControlInterface._d_removeOutputPlugin, "getOutputPlugins": _0_YalpInterfaces.ServerControlInterface._d_getOutputPlugins, "registerInputPlugin": _0_YalpInterfaces.ServerControlInterface._d_registerInputPlugin, "removeInputPlugin": _0_YalpInterfaces.ServerControlInterface._d_removeInputPlugin, "getInputPlugins": _0_YalpInterfaces.ServerControlInterface._d_getInputPlugins, "registerAuthPlugin": _0_YalpInterfaces.ServerControlInterface._d_registerAuthPlugin, "removeAuthPlugin": _0_YalpInterfaces.ServerControlInterface._d_removeAuthPlugin, "getAuthPlugins": _0_YalpInterfaces.ServerControlInterface._d_getAuthPlugins, "ping": _0_YalpInterfaces.ServerControlInterface._d_ping, "serverShutdown": _0_YalpInterfaces.ServerControlInterface._d_serverShutdown} + +ServerControlInterface._omni_skeleton = ServerControlInterface +_0_YalpInterfaces__POA.ServerControlInterface = ServerControlInterface +omniORB.registerSkeleton(ServerControlInterface._NP_RepositoryId, ServerControlInterface) +del ServerControlInterface +__name__ = "YalpInterfaces" + +# +# End of module "YalpInterfaces" +# +__name__ = "yalp_idl" + +_exported_modules = ( "YalpInterfaces", ) + +# The end. |
