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, getPort
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
Methods 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:
alive
in classRemoteManagement
- Returns:
- true, if successful
-
close
Close. Close.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceRemoteOutputStream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
destroy
-
flush
Flush. Flush.- Specified by:
flush
in interfaceRemoteOutputStream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
write
in interfaceRemoteOutputStream
- Parameters:
b
- the b- Throws:
IOException
- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
write
in interfaceRemoteOutputStream
- Parameters:
b
- the boff
- the offlen
- the len- Throws:
IOException
- Signals that an I/O exception has occurred.
-
write
Write. Write.- Specified by:
write
in interfaceRemoteOutputStream
- Parameters:
b
- the b- Throws:
IOException
- Signals that an I/O exception has occurred.
-
finalize
-