Save This Page
Home » JBoss-5.1.0 » org » jboss » net » sockets » [javadoc | source]
public class: DefaultSocketFactory [javadoc | source]

All Implemented Interfaces:
    RMIServerSocketFactory, java$io$Serializable

An implementation of RMIServerSocketFactory that supports backlog and bind address settings
Field Summary
static final  long serialVersionUID     
 public DefaultSocketFactory() 
 public DefaultSocketFactory(InetAddress bindAddress) 
    Create a socket factory with the given bind address
    bindAddress -
 public DefaultSocketFactory(int backlog) 
 public DefaultSocketFactory(InetAddress bindAddress,
    int backlog) 
    Create a socket factory with the given bind address and backlog
    bindAddress -
    backlog -
Method from Summary:
createServerSocket,   createServerSocket,   createServerSocket,   equals,   getBindAddress,   hashCode,   setBindAddress,   toString
Methods from
createServerSocket,   createServerSocket,   createServerSocket,   createServerSocket,   getDefault
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public ServerSocket createServerSocket(int port) throws IOException 
    Create a server socket on the specified port (port 0 indicates an anonymous port).
 public ServerSocket createServerSocket(int port,
    int backlog) throws IOException 
 public ServerSocket createServerSocket(int port,
    int backlog,
    InetAddress inetAddress) throws IOException 
 public boolean equals(Object obj) 
 public String getBindAddress() 
 public int hashCode() 
 public  void setBindAddress(String host) throws UnknownHostException 
 public String toString()