org.mortbay.loadbalancer
public class Connection extends Object
| Constructor Summary | |
|---|---|
| Connection(ByteBufferPool bufferPool, Listener listener, SocketChannel client, int capacity) | |
| Method Summary | |
|---|---|
| void | allocate(Server server, int allocationTry) |
| void | client2server(SelectionKey key) |
| void | clientWriteWakeup(SelectionKey key) |
| void | close() |
| void | connected(SocketChannel channel, Selector selector) |
| void | deallocate() |
| SocketChannel | getClientSocketChannel() |
| boolean | isAllocated() |
| void | server2client(SelectionKey key) |
| void | serverWriteWakeup(SelectionKey key) |
| String | toString() |