def __init__(self, parent):
        ProtocolHandler.__init__(self, parent)
        self.subscriptions = {}

        self._on_add    = SubAddHandler(self)
        self._on_remove = SubRemoveHandler(self)
        self._on_list   = SubListHandler(self)
示例#2
0
 def __init__(self, parent):
     ProtocolHandler.__init__(self, parent)
     self._on_events = RetrieveEventsHandler(self)
     self._on_state  = RetrieveStateHandler(self)
示例#3
0
 def __init__(self, parent):
     ProtocolHandler.__init__(self, parent)
     self._on_action   = ActionHandler(self)
     self._on_paxos    = PaxosHandler(self)
     self._on_retrieve = RetrieveHandler(self)
     self._on_sub      = SubscriptionHandler(self)