|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.RemoteObject
public abstract class RemoteObject
This represents an object which can be referenced remotely via RMI;
it extends UnicastRemoteObject. Such an object
is not passed by value (i.e. serialization) when invoking remote methods;
rather it is passed by remote reference and method calls are redirected back
the original object.
| Constructor Summary | |
|---|---|
protected |
RemoteObject()
|
protected |
RemoteObject(int port,
java.rmi.server.RMIClientSocketFactory clientFactory,
java.rmi.server.RMIServerSocketFactory serverFactory)
Exports the remote object on the specified port using the specified socket factories. |
protected |
RemoteObject(java.rmi.server.RMIClientSocketFactory clientFactory,
java.rmi.server.RMIServerSocketFactory serverFactory)
Exports the remote object on an anonymous port using the specified socket factories. |
| Constructor Detail |
|---|
protected RemoteObject()
throws java.rmi.RemoteException
java.rmi.RemoteException
protected RemoteObject(java.rmi.server.RMIClientSocketFactory clientFactory,
java.rmi.server.RMIServerSocketFactory serverFactory)
throws java.rmi.RemoteException
RMIClientSocketFactory - instance of RMIClientSocketFactory used by the RMI runtime
in order to obtain client sockets for RMI callsRMIServerSocketFactory - instance of RMIServerSocketFactory used by the RMI runtime
in order to obtain server sockets for RMI calls
java.rmi.RemoteException - if there was an IO error communicating with the RemoteEntity
protected RemoteObject(int port,
java.rmi.server.RMIClientSocketFactory clientFactory,
java.rmi.server.RMIServerSocketFactory serverFactory)
throws java.rmi.RemoteException
port - port numberRMIClientSocketFactory - instance of RMIClientSocketFactory used by the RMI runtime
in order to obtain client sockets for RMI callsRMIServerSocketFactory - instance of RMIServerSocketFactory RMI used used by the RMI runtime
in order to obtain server sockets for RMI calls
java.rmi.RemoteException - if there was an IO error communicating with the RemoteEntity
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||