Save This Page
Home » JBoss-5.1.0 » org » jboss » net » sockets » [javadoc | source]
org.jboss.net.sockets
public class: DefaultSocketFactory [javadoc | source]
java.lang.Object
   javax.net.ServerSocketFactory
      org.jboss.net.sockets.DefaultSocketFactory

All Implemented Interfaces:
    RMIServerSocketFactory, java$io$Serializable

An implementation of RMIServerSocketFactory that supports backlog and bind address settings
Field Summary
static final  long serialVersionUID     
Constructor:
 public DefaultSocketFactory() 
 public DefaultSocketFactory(InetAddress bindAddress) 
    Create a socket factory with the given bind address
    Parameters:
    bindAddress -
 public DefaultSocketFactory(int backlog) 
 public DefaultSocketFactory(InetAddress bindAddress,
    int backlog) 
    Create a socket factory with the given bind address and backlog
    Parameters:
    bindAddress -
    backlog -
Method from org.jboss.net.sockets.DefaultSocketFactory Summary:
createServerSocket,   createServerSocket,   createServerSocket,   equals,   getBindAddress,   hashCode,   setBindAddress,   toString
Methods from javax.net.ServerSocketFactory:
createServerSocket,   createServerSocket,   createServerSocket,   createServerSocket,   getDefault
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.net.sockets.DefaultSocketFactory 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()