Protocol

Base Classes

Methods

__getstate__(self)

   def __getstate__(self):

__init__(self, host, port, sock)

   def __init__(self, host, port, sock = None):

parms:

host

[string] dotted ip address of host

port

[int] port number

sock

[socket or None] if provided, this is the socket which already has a valid connection.

__setstate__(self, dict)

   def __setstate__(self, dict):

getNext(self)

   def getNext(self):

getProtocolId(self)

   def getProtocolId(self):

send(self, obj)

   def send(self, obj):