|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.net.sockets.TimeoutServerSocketFactory
A RMIServerSocketFactory that installs a InterruptableInputStream to be responsive to thead interruption events.
Field Summary | |
protected int |
backlog
|
protected InetAddress |
bindAddress
|
Constructor Summary | |
TimeoutServerSocketFactory()
Create a socket factory that binds on any address with a default backlog of 200 |
|
TimeoutServerSocketFactory(InetAddress bindAddress)
Create a socket factory with the given bind address |
|
TimeoutServerSocketFactory(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 | |
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(InetAddress bindAddress)
|
void |
setBindAddress(String host)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient InetAddress bindAddress
protected int backlog
Constructor Detail |
public TimeoutServerSocketFactory()
public TimeoutServerSocketFactory(InetAddress bindAddress)
public TimeoutServerSocketFactory(int backlog)
public TimeoutServerSocketFactory(InetAddress bindAddress, int backlog)
Method Detail |
public String getBindAddress()
public void setBindAddress(String host) throws UnknownHostException
UnknownHostException
public void setBindAddress(InetAddress bindAddress)
public ServerSocket createServerSocket(int port) throws IOException
createServerSocket
in interface RMIServerSocketFactory
port
- 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 |