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
- Overrides:
setSoTimeout
in class ServerSocket
- Throws:
SocketException
getSoTimeout
public int getSoTimeout()
throws IOException
- Overrides:
getSoTimeout
in class ServerSocket
- Throws:
IOException
accept
public Socket accept()
throws IOException
- Overrides:
accept
in class ServerSocket
- Throws:
IOException
bind
public void bind(SocketAddress endpoint,
int backlog)
throws IOException
- Overrides:
bind
in class ServerSocket
- Throws:
IOException
bind
public void bind(SocketAddress endpoint)
throws IOException
- Overrides:
bind
in class ServerSocket
- Throws:
IOException
close
public void close()
throws IOException
- Overrides:
close
in class ServerSocket
- Throws:
IOException
getChannel
public ServerSocketChannel getChannel()
- Overrides:
getChannel
in class ServerSocket
getInetAddress
public InetAddress getInetAddress()
- Overrides:
getInetAddress
in class ServerSocket
getLocalPort
public int getLocalPort()
- Overrides:
getLocalPort
in class ServerSocket
getLocalSocketAddress
public SocketAddress getLocalSocketAddress()
- Overrides:
getLocalSocketAddress
in class ServerSocket
getReceiveBufferSize
public int getReceiveBufferSize()
throws SocketException
- Overrides:
getReceiveBufferSize
in class ServerSocket
- Throws:
SocketException
getReuseAddress
public boolean getReuseAddress()
throws SocketException
- Overrides:
getReuseAddress
in class ServerSocket
- Throws:
SocketException
isBound
public boolean isBound()
- Overrides:
isBound
in class ServerSocket
isClosed
public boolean isClosed()
- Overrides:
isClosed
in class ServerSocket
setPerformancePreferences
public void setPerformancePreferences(int connectionTime,
int latency,
int bandwidth)
- Overrides:
setPerformancePreferences
in class ServerSocket
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws SocketException
- Overrides:
setReceiveBufferSize
in class ServerSocket
- Throws:
SocketException
setReuseAddress
public void setReuseAddress(boolean on)
throws SocketException
- Overrides:
setReuseAddress
in class ServerSocket
- Throws:
SocketException
Copyright © -2009 The ActiveIO Project. All Rights Reserved.