org.mortbay.loadbalancer
Class Connection
java.lang.Object
org.mortbay.loadbalancer.Connection
public class Connection
extends java.lang.Object
allocate
public void allocate(Server server,
int allocationTry)
throws IOException
client2server
public void client2server(SelectionKey key)
throws IOException
clientWriteWakeup
public void clientWriteWakeup(SelectionKey key)
throws IOException
connected
public void connected(SocketChannel channel,
Selector selector)
throws IOException
deallocate
public void deallocate()
throws IOException
getClientSocketChannel
public SocketChannel getClientSocketChannel()
isAllocated
public boolean isAllocated()
server2client
public void server2client(SelectionKey key)
throws IOException
serverWriteWakeup
public void serverWriteWakeup(SelectionKey key)
throws IOException
toString
public String toString()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.