TCP

Transmission Control Protocol is wonderful...

Client Classes

class tcp.TCPClientDirector(Server, ServiceAccessPoint)

This is a long line of text.

__init__(address, timeout=0, actorClass=UDPActor)
Parameters:
  • address – the initial source value
  • timeout – the initial source value
  • actorClass – the initial source value

This is a long line of text.

AddActor(actor)
Parameters:actor – the initial source value

This is a long line of text.

RemoveActor(actor)
Parameters:actor – the initial source value

This is a long line of text.

GetActor(address)
Parameters:address – the initial source value

This is a long line of text.

connect(address, reconnect=0)
Parameters:
  • address – address to establish a connection
  • reconnect – timer value
disconnect(address)
Parameters:address – address to disconnect
indication(pdu)

This is a long line of text.

class tcp.TCPClient(asyncore.dispatcher)
__init__(peer)
Parameters:peer – This is a long line of text.

This is a long line of text.

handle_connect()

This is a long line of text.

handle_expt()

This is a long line of text.

readable()

This is a long line of text.

handle_read()

This is a long line of text.

writable()

This is a long line of text.

handle_write()

This is a long line of text.

handle_close()

This is a long line of text.

indication(pdu)
Parameters:pdu – data to send

This is a long line of text.

class tcp.TCPClientActor(Logging)

This is a long line of text.

director

This is a long line of text.

peer

This is a long line of text.

timeout

This is a long line of text.

timer

This is a long line of text.

__init__(director, peer)
Parameters:
  • director – the initial source value
  • peer – the initial destination value

This is a long line of text.

handle_close()

This is a long line of text.

IdleTimeout()

This is a long line of text.

indication(pdu)
Parameters:pdu – the initial source value

This is a long line of text.

response(pdu)
Parameters:pdu – the initial source value

This is a long line of text.

Flush()

This is a long line of text.

class tcp.TCPPickleClientActor(PickleActorMixIn, TCPClientActor)

This is a long line of text.

Server Classes

class tcp.TCPServerDirector(asyncore.dispatcher, Server, ServiceAccessPoint)
__init__(address, listeners=5, timeout=0, reuse=False, actorClass=TCPServerActor)
Parameters:
  • address – socket for connection
  • listeners – socket for connection
  • timeout – socket for connection
  • reuse – socket for connection
  • actorClass – socket for connection

This is a long line of text.

handle_accept()

This is a long line of text.

handle_close()

This is a long line of text.

AddActor(actor)
Parameters:actor – the initial source value

This is a long line of text.

RemoveActor(actor)
Parameters:actor – the initial source value

This is a long line of text.

GetActor(address)
Parameters:address – the initial source value

This is a long line of text.

indication(pdu)

This is a long line of text.

class tcp.TCPServer(asyncore.dispatcher)
__init__(sock, peer)
Parameters:
  • sock – socket for connection
  • peer – This is a long line of text.

This is a long line of text.

handle_connect()

This is a long line of text.

readable()

This is a long line of text.

handle_read()

This is a long line of text.

writable()

This is a long line of text.

handle_write()

This is a long line of text.

handle_close()

This is a long line of text.

indication(pdu)
Parameters:pdu – data to send

This is a long line of text.

class tcp.TCPServerActor(TCPServer)

This is a long line of text.

director

This is a long line of text.

peer

This is a long line of text.

timeout

This is a long line of text.

timer

This is a long line of text.

__init__(director, sock, peer)
Parameters:
  • director – the initial source value
  • sock – socket for connection
  • peer – the initial destination value

This is a long line of text.

handle_close()

This is a long line of text.

IdleTimeout()

This is a long line of text.

indication(pdu)
Parameters:pdu – the initial source value

This is a long line of text.

response(pdu)
Parameters:pdu – the initial source value

This is a long line of text.

Flush()

This is a long line of text.

class tcp.TCPPickleServerActor(PickleActorMixIn, TCPServerActor)

This is a long line of text.

Streaming Packets

class tcp.StreamToPacket(Client, Server)
Packetize(pdu, streamBuffer)

This is a long line of text.

indication(pdu)

This is a long line of text.

confirmation(pdu)

This is a long line of text.

class tcp.StreamToPacketSAP(ApplicationServiceElement, ServiceAccessPoint)

Stream Pickling

class tcp.PickleActorMixIn
indication(pdu)
Parameters:pdu – the initial source value

This is a long line of text.

response(pdu)
Parameters:pdu – the initial source value

This is a long line of text.