Package | Description |
---|---|
casa.agentCom |
The package (agentCom = "Agent
Communications") handles connections between agents. The class Channel
is an abstraction of a communication channel.
|
Modifier and Type | Field and Description |
---|---|
private InfiniteReadWriteByteBuffer |
TCPChannel.buffer
A buffer for use by the owner socker server.
|
Modifier and Type | Method and Description |
---|---|
private TCPChannel |
SocketServerTCPIP.addConnection(URLDescriptor url,
SelectionKey key,
InfiniteReadWriteByteBuffer initBuffer)
Creates a new
TCPChannel object, and links it to url. |
Constructor and Description |
---|
TCPChannel(URLDescriptor url,
SelectionKey key,
SocketServerInterface owner,
InfiniteReadWriteByteBuffer initBuffer)
Create a new Channel from a incoming message on a server socket.
|