org.mortbay.loadbalancer
Class Server
java.lang.Object
|
+--org.mortbay.util.LifeCycleThread
|
+--org.mortbay.loadbalancer.Server
- All Implemented Interfaces:
- LifeCycle, java.lang.Runnable
- public class Server
- extends LifeCycleThread
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Server
public Server()
throws java.io.IOException
Server
public Server(ByteBufferPool pool,
java.net.InetSocketAddress address)
throws java.io.IOException
Server
public Server(ByteBufferPool pool,
InetAddrPort address)
throws java.io.IOException
getInetSocketAddress
public java.net.InetSocketAddress getInetSocketAddress()
setInetSocketAddress
public void setInetSocketAddress(java.net.InetSocketAddress address)
getBufferPool
public ByteBufferPool getBufferPool()
setBufferPool
public void setBufferPool(ByteBufferPool bufferPool)
connect
public void connect(Connection connection)
throws java.io.IOException
java.io.IOException
start
public void start()
throws java.lang.Exception
- Description copied from interface:
LifeCycle
- Start the LifeCycle.
- Specified by:
start
in interface LifeCycle
- Overrides:
start
in class LifeCycleThread
- Throws:
java.lang.Exception
- An arbitrary exception may be thrown.
loop
public void loop()
throws java.lang.Exception
- Specified by:
loop
in class LifeCycleThread
java.lang.Exception
Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.