示例#1
0
 def destroy(self):
     # Break any connections involving this event channel.
     manager = ConnectionManager.instance()
     for identifier, (uses, provides) in manager.getConnections().items():
         if provides.hasComponent(self):
             manager.breakConnection(identifier)
             manager.unregisterConnection(identifier)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
示例#2
0
 def destroy(self):
     # Break any connections involving this event channel.
     manager = ConnectionManager.instance()
     for identifier, (uses, provides) in manager.getConnections().items():
         if provides.hasComponent(self):
             manager.breakConnection(identifier)
             manager.unregisterConnection(identifier)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
示例#3
0
 def destroy(self):
     # Break any connections involving this event channel.
     self._sandbox._breakConnections(self)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
示例#4
0
 def __init__(self, name, sandbox):
     EventChannel.__init__(self, name)
     CorbaObject.__init__(self)
     self._sandbox = sandbox
     self._instanceName = name
示例#5
0
 def __init__(self, name, sandbox):
     EventChannel.__init__(self, name)
     CorbaObject.__init__(self)
     self._sandbox = sandbox
     self._instanceName = name