class documentation

A stub transport which records the data written.

Method getHost Return an arbitrary IAddress.
Method getPeer Return an arbitrary IAddress.
Method loseConnection Note that the connection was closed.
Method setTcpNoDelay Pretend to set TCP_NODELAY.
Method write Record data in the buffer.
Instance Variable buf the data sent to the transport.
Instance Variable close flags indicating if the transport has been closed.
def getHost(self): (source)

Return an arbitrary IAddress.

def getPeer(self): (source)

Return an arbitrary IAddress.

def loseConnection(self): (source)

Note that the connection was closed.

def setTcpNoDelay(self, enabled): (source)

Pretend to set TCP_NODELAY.

def write(self, data): (source)

Record data in the buffer.

the data sent to the transport.

flags indicating if the transport has been closed.