def createObjectEvent(evt): busEvt = ObusBusEvent.create(_busEventDesc_object_event) busEvt.eventList.append(evt) return busEvt
def createObjectUnregistered(obj): busEvt = ObusBusEvent.create(_busEventDesc_object_unregistered) busEvt.removeList.append(obj) return busEvt
def createObjectRegistered(obj): busEvt = ObusBusEvent.create(_busEventDesc_object_registered) busEvt.addList.append(obj) return busEvt
def createConnectionRefused(): busEvt = ObusBusEvent.create(_busEventDesc_connection_refused) return busEvt
def createDisconnected(objects): busEvt = ObusBusEvent.create(_busEventDesc_disconnected) busEvt.removeList.extend(objects) return busEvt
def createConnected(objects): busEvt = ObusBusEvent.create(_busEventDesc_connected) busEvt.addList.extend(objects) return busEvt