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)
Esempio n. 2
0
 def __init__(self, parent):
     ProtocolHandler.__init__(self, parent)
     self._on_events = RetrieveEventsHandler(self)
     self._on_state  = RetrieveStateHandler(self)
Esempio n. 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)