|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.net.sockets.DefaultSocketFactory
An implementation of RMIServerSocketFactory that supports backlog and bind address settings
| Constructor Summary | |
DefaultSocketFactory()
Create a socket factory that binds on any address with a default backlog of 200 |
|
DefaultSocketFactory(InetAddress bindAddress)
Create a socket factory with the given bind address |
|
DefaultSocketFactory(InetAddress bindAddress,
int backlog)
Create a socket factory with the given bind address and backlog |
|
DefaultSocketFactory(int backlog)
Create a socket factory with the given backlog |
|
| Method Summary | |
ServerSocket |
createServerSocket(int port)
Create a server socket on the specified port (port 0 indicates an anonymous port). |
boolean |
equals(Object obj)
|
String |
getBindAddress()
|
int |
hashCode()
|
void |
setBindAddress(String host)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSocketFactory()
public DefaultSocketFactory(InetAddress bindAddress)
public DefaultSocketFactory(int backlog)
public DefaultSocketFactory(InetAddress bindAddress, int backlog)
| Method Detail |
public String getBindAddress()
public void setBindAddress(String host) throws UnknownHostException
UnknownHostExceptionpublic ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface RMIServerSocketFactoryport - the port number
IOException - if an I/O error occurs during server socket
creationpublic boolean equals(Object obj)
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||