org.xsocket.stream
Class StreamSocketConfiguration

Package class diagram package StreamSocketConfiguration
java.lang.Object
  extended by org.xsocket.stream.StreamSocketConfiguration

Deprecated.

public final class StreamSocketConfiguration
extends java.lang.Object

socket configuration.


Constructor Summary
StreamSocketConfiguration()
          Deprecated.  
 
Method Summary
static java.net.SocketOptions fromOptions(java.util.Map<java.lang.String,java.lang.Object> options)
          Deprecated.  
static java.lang.Object getOption(java.net.Socket socket, int optID)
          Deprecated.  
 void setIP_TOS(java.lang.Integer i)
          Deprecated. set IP_TOS
static void setOption(java.net.Socket socket, int optID, java.lang.Object value)
          Deprecated.  
 void setOptions(java.net.ServerSocket socket)
          Deprecated.  
 void setOptions(java.net.Socket socket)
          Deprecated.  
 void setSO_KEEPALIVE(java.lang.Boolean b)
          Deprecated. set SO_KEEPALIVE
 void setSO_LINGER(java.lang.Integer i)
          Deprecated. set SO_LINGER
 void setSO_OOBINLINE(java.lang.Boolean b)
          Deprecated. set SO_OOBINLINE
 void setSO_RCVBUF(java.lang.Integer i)
          Deprecated. set SO_RCVBUF
 void setSO_REUSEADDR(java.lang.Boolean b)
          Deprecated. set SO_REUSEADDR
 void setSO_SNDBUF(java.lang.Integer i)
          Deprecated. set SO_SNDBUF
 void setSO_TIMEOUT(java.lang.Integer i)
          Deprecated. set SO_TIMEOUT
 void setTCP_NODELAY(java.lang.Boolean b)
          Deprecated. set TCP_NODELAY
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamSocketConfiguration

public StreamSocketConfiguration()
Deprecated. 
Method Detail

setOptions

public void setOptions(java.net.Socket socket)
                throws java.net.SocketException
Deprecated. 
Throws:
java.net.SocketException

setOptions

public void setOptions(java.net.ServerSocket socket)
                throws java.net.SocketException
Deprecated. 
Throws:
java.net.SocketException

setOption

public static void setOption(java.net.Socket socket,
                             int optID,
                             java.lang.Object value)
                      throws java.net.SocketException
Deprecated. 
Throws:
java.net.SocketException

fromOptions

public static java.net.SocketOptions fromOptions(java.util.Map<java.lang.String,java.lang.Object> options)
Deprecated. 

getOption

public static java.lang.Object getOption(java.net.Socket socket,
                                         int optID)
                                  throws java.net.SocketException
Deprecated. 
Throws:
java.net.SocketException

setSO_REUSEADDR

public void setSO_REUSEADDR(java.lang.Boolean b)
Deprecated. 
set SO_REUSEADDR

Parameters:
b - SO_REUSEADDR or null to use default

setTCP_NODELAY

public void setTCP_NODELAY(java.lang.Boolean b)
Deprecated. 
set TCP_NODELAY

Parameters:
b - TCP_NODELAY or null to use default

setSO_TIMEOUT

public void setSO_TIMEOUT(java.lang.Integer i)
Deprecated. 
set SO_TIMEOUT

Parameters:
i - SO_TIMEOUT or null to use default

setSO_SNDBUF

public void setSO_SNDBUF(java.lang.Integer i)
Deprecated. 
set SO_SNDBUF

Parameters:
i - SO_SNDBUF or null to use default

setSO_RCVBUF

public void setSO_RCVBUF(java.lang.Integer i)
Deprecated. 
set SO_RCVBUF

Parameters:
i - SO_RCVBUF or null to use default

setSO_OOBINLINE

public void setSO_OOBINLINE(java.lang.Boolean b)
Deprecated. 
set SO_OOBINLINE

Parameters:
b - SO_OOBINLINE or null to use default

setSO_KEEPALIVE

public void setSO_KEEPALIVE(java.lang.Boolean b)
Deprecated. 
set SO_KEEPALIVE

Parameters:
b - SO_KEEPALIVE or null to use default

setIP_TOS

public void setIP_TOS(java.lang.Integer i)
Deprecated. 
set IP_TOS

Parameters:
i - IP_TOS or null to use default

setSO_LINGER

public void setSO_LINGER(java.lang.Integer i)
Deprecated. 
set SO_LINGER

Parameters:
i - SO_LINGER or null to use default or negative value to disable