pyre.nexus.Service¶
Module Contents¶
-
class
pyre.nexus.Service.Service¶ Bases:
pyre.protocolProtocol definition for components that handle events in communication channels
-
activate(self, application, dispatcher)¶ Prepare to start receiving information from the network
-
acknowledge(self, dispatcher, channel)¶ A peer has attempted to establish a connection
-
validate(self, channel, address)¶ Examine the peer {address} and determine whether to continue the conversation
-
connect(self, dispatcher, channel, address)¶ Prepare to start accepting requests from a new peer
-
process(self, dispatcher, channel)¶ Start or continue a conversation with a peer over {channel}
-
shutdown(self)¶ Clean up and shutdown
-