Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » sockets » [javadoc | source]
org.jboss.net.sockets
public class: DefaultSocketFactory [javadoc | source]
java.lang.Object
   org.jboss.net.sockets.DefaultSocketFactory

All Implemented Interfaces:
    RMIServerSocketFactory, Serializable

An implementation of RMIServerSocketFactory that supports backlog and bind address settings
Constructor:
 public DefaultSocketFactory() 
 public DefaultSocketFactory(InetAddress bindAddress) 
    Create a socket factory with the given bind address
 public DefaultSocketFactory(int backlog) 
 public DefaultSocketFactory(InetAddress bindAddress,
    int backlog) 
    Create a socket factory with the given bind address and backlog
Method from org.jboss.net.sockets.DefaultSocketFactory Summary:
createServerSocket,   equals,   getBindAddress,   hashCode,   setBindAddress
Methods from java.lang.Object:
equals,   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 boolean equals(Object obj) 
 public String getBindAddress() 
 public int hashCode() 
 public  void setBindAddress(String host) throws UnknownHostException