|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.rmi.server.RMISocketFactory
Ibis has no support for RMISocketFactories.
Constructor Summary | |
RMISocketFactory()
Constructs an RMISocketFactory . |
Method Summary | |
abstract java.net.ServerSocket |
createServerSocket(int port)
Creates a server socket on the specified port. |
abstract java.net.Socket |
createSocket(java.lang.String host,
int port)
Creates a client socket connected to the specified host and port. |
static RMISocketFactory |
getDefaultSocketFactory()
Returns a reference to the default socket factory used by this RMI implementation. |
static RMIFailureHandler |
getFailureHandler()
Gets the failure handler that is called by the RMI runtime if server socket creation fails. |
static RMISocketFactory |
getSocketFactory()
Gets the global socket factory from which RMI gets sockets (not supported in Ibis RMI). |
static void |
setFailureHandler(RMIFailureHandler fh)
Sets the failure handler to be called by the RMI runtime if server socket creation fails. |
static void |
setSocketFactory(RMISocketFactory fac)
Set the global socket factory from which RMI gets sockets (not supported in Ibis RMI). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RMISocketFactory()
RMISocketFactory
.
Method Detail |
public abstract java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket
in interface RMIClientSocketFactory
host
- the host name.port
- the port number.
java.io.IOException
- if an I/O error occurs during socket creation.public abstract java.net.ServerSocket createServerSocket(int port) throws java.io.IOException
createServerSocket
in interface RMIServerSocketFactory
port
- the port number
java.io.IOException
- if an I/O error occurs during server socket
creationpublic static void setSocketFactory(RMISocketFactory fac)
fac
- the socket factory.public static RMISocketFactory getSocketFactory()
public static RMISocketFactory getDefaultSocketFactory()
public static void setFailureHandler(RMIFailureHandler fh)
fh
- the failure handler.public static RMIFailureHandler getFailureHandler()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |