Class RemoteOutputStreamImp
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
ecmwf.common.callback.CallBackObject
ecmwf.common.callback.RemoteManagement
ecmwf.common.callback.RemoteOutputStreamImp
- All Implemented Interfaces:
RemoteOutputStream,Closeable,Serializable,AutoCloseable,Remote
public final class RemoteOutputStreamImp
extends RemoteManagement
implements RemoteOutputStream, Closeable
The Class RemoteOutputStreamImp.
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
ConstructorsConstructorDescriptionRemoteOutputStreamImp(Closeable toClose, OutputStream out) Instantiates a new remote output stream imp.Instantiates a new remote output stream imp. -
Method Summary
Methods inherited from class ecmwf.common.callback.CallBackObject
createOrGetRegistry, getPortMethods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
RemoteOutputStreamImp
Instantiates a new remote output stream imp.- Parameters:
out- the out- Throws:
RemoteException- the remote exception
-
RemoteOutputStreamImp
Instantiates a new remote output stream imp.- Parameters:
toClose- the to closeout- the out- Throws:
RemoteException- the remote exception
-
-
Method Details
-
alive
public boolean alive()Alive. Alive.- Specified by:
alivein classRemoteManagement- Returns:
- true, if successful
-
close
Close. Close.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceRemoteOutputStream- Throws:
IOException- Signals that an I/O exception has occurred.
-
destroy
-
flush
Flush. Flush.- Specified by:
flushin interfaceRemoteOutputStream- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
writein interfaceRemoteOutputStream- Parameters:
b- the b- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
writein interfaceRemoteOutputStream- Parameters:
b- the boff- the offlen- the len- Throws:
IOException- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
writein interfaceRemoteOutputStream- Parameters:
b- the b- Throws:
IOException- Signals that an I/O exception has occurred.
-
finalize
-