pyre.nexus.Server

Module Contents

class pyre.nexus.Server.Server

Bases: pyre.component

The base class for network servers

address
application
dispatcher
activate(self, application, dispatcher)

Grab a port and register it with the event dispatcher

acknowledge(self, 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, channel, address)

Prepare to start accepting requests from peers

process(self, channel)

Say something to the peer

shutdown(self)

Clean up and shutdown