Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 3
0
 def destroy(self):
     # Break any connections involving this event channel.
     self._sandbox._breakConnections(self)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
Exemplo n.º 4
0
 def __init__(self, name, sandbox):
     EventChannel.__init__(self, name)
     CorbaObject.__init__(self)
     self._sandbox = sandbox
     self._instanceName = name
Exemplo n.º 5
0
 def __init__(self, name, sandbox):
     EventChannel.__init__(self, name)
     CorbaObject.__init__(self)
     self._sandbox = sandbox
     self._instanceName = name