|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjava.rmi.server.RMISocketFactory
com.ibm.able.AbleSocketFactory
The AbleSocketFactory is a simple RMI socket factory that can be used by ABLE remote objects.
| Constructor Summary | |
|---|---|
AbleSocketFactory()
|
|
| Method Summary | |
|---|---|
java.net.ServerSocket |
createServerSocket(int port)
Create a ServerSocket on the specified port. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Create a client Socket connected to the specified host and port. |
boolean |
equals(java.lang.Object object)
Test for equals. |
int |
hashCode()
|
| Methods inherited from class java.rmi.server.RMISocketFactory |
|---|
getDefaultSocketFactory, getFailureHandler, getSocketFactory, setFailureHandler, setSocketFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbleSocketFactory()
| Method Detail |
public java.net.Socket createSocket(java.lang.String host,
int port)
throws java.io.IOException
This instance of Socket is used by the RMI runtime when either a client communicates remotely to a server, or the ServerSocket is processing a request from a remote client. (In this second case, an instance of Socket will be used for communications with the client, and the ServerSocket will continue to listen on its designated port for subsequent connect requests.)
A thirty second timeout is allowed.
createSocket in interface java.rmi.server.RMIClientSocketFactoryhost - the host nameport - the port number
java.io.IOException - if an I/O error occurs during
client socket creation.
public java.net.ServerSocket createServerSocket(int port)
throws java.io.IOException
This instance of ServerSocket is used by the RMI runtime to accept incoming calls from clients.
createServerSocket in interface java.rmi.server.RMIServerSocketFactoryport - The port on which this instance of ServerSocket
will listen for incoming calls from clients.
java.io.IOException - if an I/O error occurs during
server socket creation.public boolean equals(java.lang.Object object)
object - An object to
true if the specified object has the same class as this object,
and false if the specified object is null or of
another class.public int hashCode()
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||