Class CallBackObject
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
ecmwf.common.callback.CallBackObject
- All Implemented Interfaces:
Serializable, Remote
- Direct Known Subclasses:
RemoteCnfImp, RemoteManagement, StarterServer
The Class CallBackObject.
- See Also:
-
Field Summary
Fields inherited from class RemoteObject
ref -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
CallBackObject
Instantiates a new call back object.- Throws:
RemoteException- the remote exception
-
-
Method Details
-
unexport
public void unexport()Requests the remote object to unexport itself, allowing it to be garbage collected. This method should be called from the remote RMI peer (not the exporter). -
getPort
public static int getPort()Gets the port.- Returns:
- the port
-
createOrGetRegistry
Creates the or get registry.- Returns:
- the registry
- Throws:
RemoteException- the remote exception
-