org.activeio.adapter
Class SyncChannelServerToServerSocket

java.lang.Object
  extended byjava.net.ServerSocket
      extended byorg.activeio.adapter.SyncChannelServerToServerSocket

public class SyncChannelServerToServerSocket
extends ServerSocket


Constructor Summary
SyncChannelServerToServerSocket(SyncChannelServer channelServer)
           
 
Method Summary
 Socket accept()
           
 void bind(SocketAddress endpoint)
           
 void bind(SocketAddress endpoint, int backlog)
           
 void close()
           
 ServerSocketChannel getChannel()
           
 InetAddress getInetAddress()
           
 int getLocalPort()
           
 SocketAddress getLocalSocketAddress()
           
 int getReceiveBufferSize()
           
 boolean getReuseAddress()
           
 int getSoTimeout()
           
 boolean isBound()
           
 boolean isClosed()
           
 void setPerformancePreferences(int connectionTime, int latency, int bandwidth)
           
 void setReceiveBufferSize(int size)
           
 void setReuseAddress(boolean on)
           
 void setSoTimeout(int timeout)
           
 
Methods inherited from class java.net.ServerSocket
implAccept, setSocketFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncChannelServerToServerSocket

public SyncChannelServerToServerSocket(SyncChannelServer channelServer)
                                throws IOException
Throws:
IOException
Method Detail

setSoTimeout

public void setSoTimeout(int timeout)
                  throws SocketException
Throws:
SocketException

getSoTimeout

public int getSoTimeout()
                 throws IOException
Throws:
IOException

accept

public Socket accept()
              throws IOException
Throws:
IOException

bind

public void bind(SocketAddress endpoint,
                 int backlog)
          throws IOException
Throws:
IOException

bind

public void bind(SocketAddress endpoint)
          throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException

getChannel

public ServerSocketChannel getChannel()

getInetAddress

public InetAddress getInetAddress()

getLocalPort

public int getLocalPort()

getLocalSocketAddress

public SocketAddress getLocalSocketAddress()

getReceiveBufferSize

public int getReceiveBufferSize()
                         throws SocketException
Throws:
SocketException

getReuseAddress

public boolean getReuseAddress()
                        throws SocketException
Throws:
SocketException

isBound

public boolean isBound()

isClosed

public boolean isClosed()

setPerformancePreferences

public void setPerformancePreferences(int connectionTime,
                                      int latency,
                                      int bandwidth)

setReceiveBufferSize

public void setReceiveBufferSize(int size)
                          throws SocketException
Throws:
SocketException

setReuseAddress

public void setReuseAddress(boolean on)
                     throws SocketException
Throws:
SocketException


Copyright © -2007 The ActiveIO Project. All Rights Reserved.