org.activeio.net
Interface SocketMetadata
- All Known Implementing Classes:
- AIOAsynchChannel, NIOBaseChannel, SocketSynchChannel
- public interface SocketMetadata
getInetAddress
public java.net.InetAddress getInetAddress()
getKeepAlive
public boolean getKeepAlive()
throws java.net.SocketException
- Throws:
java.net.SocketException
getLocalAddress
public java.net.InetAddress getLocalAddress()
getLocalPort
public int getLocalPort()
getLocalSocketAddress
public java.net.SocketAddress getLocalSocketAddress()
getOOBInline
public boolean getOOBInline()
throws java.net.SocketException
- Throws:
java.net.SocketException
getPort
public int getPort()
getReceiveBufferSize
public int getReceiveBufferSize()
throws java.net.SocketException
- Throws:
java.net.SocketException
getRemoteSocketAddress
public java.net.SocketAddress getRemoteSocketAddress()
getReuseAddress
public boolean getReuseAddress()
throws java.net.SocketException
- Throws:
java.net.SocketException
getSendBufferSize
public int getSendBufferSize()
throws java.net.SocketException
- Throws:
java.net.SocketException
getSoLinger
public int getSoLinger()
throws java.net.SocketException
- Throws:
java.net.SocketException
getSoTimeout
public int getSoTimeout()
throws java.net.SocketException
- Throws:
java.net.SocketException
getTcpNoDelay
public boolean getTcpNoDelay()
throws java.net.SocketException
- Throws:
java.net.SocketException
getTrafficClass
public int getTrafficClass()
throws java.net.SocketException
- Throws:
java.net.SocketException
isBound
public boolean isBound()
isClosed
public boolean isClosed()
isConnected
public boolean isConnected()
setKeepAlive
public void setKeepAlive(boolean on)
throws java.net.SocketException
- Throws:
java.net.SocketException
setOOBInline
public void setOOBInline(boolean on)
throws java.net.SocketException
- Throws:
java.net.SocketException
setReceiveBufferSize
public void setReceiveBufferSize(int size)
throws java.net.SocketException
- Throws:
java.net.SocketException
setReuseAddress
public void setReuseAddress(boolean on)
throws java.net.SocketException
- Throws:
java.net.SocketException
setSendBufferSize
public void setSendBufferSize(int size)
throws java.net.SocketException
- Throws:
java.net.SocketException
setSoLinger
public void setSoLinger(boolean on,
int linger)
throws java.net.SocketException
- Throws:
java.net.SocketException
setTcpNoDelay
public void setTcpNoDelay(boolean on)
throws java.net.SocketException
- Throws:
java.net.SocketException
setTrafficClass
public void setTrafficClass(int tc)
throws java.net.SocketException
- Throws:
java.net.SocketException
Copyright © -2005 The ActiveIO Project. All Rights Reserved.