Class RemoteInputStreamImp
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.RemoteInputStreamImp
- All Implemented Interfaces:
RemoteInputStream
,Closeable
,Serializable
,AutoCloseable
,Remote
public final class RemoteInputStreamImp
extends RemoteManagement
implements RemoteInputStream, Closeable
The Class RemoteInputStreamImp.
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new remote input 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
-
RemoteInputStreamImp
Instantiates a new remote input stream imp.- Parameters:
in
- the in- Throws:
RemoteException
- the remote exception
-
-
Method Details
-
alive
public boolean alive()Alive. Alive.- Specified by:
alive
in classRemoteManagement
- Returns:
- true, if successful
-
available
Available. Available.- Specified by:
available
in interfaceRemoteInputStream
- Returns:
- the int
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
close
Close. Close.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceRemoteInputStream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
destroy
-
mark
Mark. Mark.- Specified by:
mark
in interfaceRemoteInputStream
- Parameters:
readlimit
- the readlimit- Throws:
RemoteException
- the remote exception
-
markSupported
Mark supported. Mark supported.- Specified by:
markSupported
in interfaceRemoteInputStream
- Returns:
- true, if successful
- Throws:
RemoteException
- the remote exception
-
read
Read. Read.- Specified by:
read
in interfaceRemoteInputStream
- Returns:
- the int
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
read
Read. Read.- Specified by:
read
in interfaceRemoteInputStream
- Parameters:
len
- the len- Returns:
- the byte stream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
reset
Reset. Reset.- Specified by:
reset
in interfaceRemoteInputStream
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
skip
Skip. Skip.- Specified by:
skip
in interfaceRemoteInputStream
- Parameters:
n
- the n- Returns:
- the long
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
finalize
-