ProtocolInfo

Protocol info manages the current message id and a list of requests. Public variables:

requests

A dictionary mapping message ids to request locks.

proto

The Protocol object itself.

Methods

__init__(self, protocol)

   def __init__(self, protocol):

Constructs a ProtocolInfo object from the Protocol itself.

getNextId(self)

   def getNextId(self):

Returns the next available message id.