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