org.activeio.adapter
Class SyncChannelServerToServerSocket
java.lang.Object
java.net.ServerSocket
org.activeio.adapter.SyncChannelServerToServerSocket
- public class SyncChannelServerToServerSocket
- extends ServerSocket
SyncChannelServerToServerSocket
public SyncChannelServerToServerSocket(SyncChannelServer channelServer)
throws IOException
- Throws:
IOException
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.