|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
jist.runtime.RemoteIO.RemoteOutputStreamReceiver
public static class RemoteIO.RemoteOutputStreamReceiver
Remote-side of remote output stream.
| Field Summary | |
|---|---|
private java.io.OutputStream |
lout
Underlying output stream, destination of all data. |
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
RemoteIO.RemoteOutputStreamReceiver(java.io.OutputStream lout)
Create a new remote output stream server. |
|
| Method Summary | |
|---|---|
void |
close()
Close the underlying remote output stream. |
void |
finalize()
|
void |
flush()
Flush output. |
void |
write(byte[] b)
Write an array of bytes. |
void |
write(byte[] b,
int off,
int len)
Write an array of bytes. |
void |
write(int b)
Write a byte. |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.io.OutputStream lout
| Constructor Detail |
|---|
public RemoteIO.RemoteOutputStreamReceiver(java.io.OutputStream lout)
throws java.rmi.RemoteException
lout - underlying destination output stream
java.rmi.RemoteException - rpc failure| Method Detail |
|---|
public void finalize()
finalize in class java.lang.Object
public void write(int b)
throws java.io.IOException,
java.rmi.RemoteException
write in interface RemoteIO.RemoteOutputStreamRemoteb - byte to write
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure
public void write(byte[] b)
throws java.io.IOException,
java.rmi.RemoteException
write in interface RemoteIO.RemoteOutputStreamRemoteb - array of bytes
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure
public void write(byte[] b,
int off,
int len)
throws java.io.IOException,
java.rmi.RemoteException
write in interface RemoteIO.RemoteOutputStreamRemoteb - array of bytesoff - starting offset within arraylen - number of bytes to write
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure
public void flush()
throws java.io.IOException,
java.rmi.RemoteException
flush in interface RemoteIO.RemoteOutputStreamRemotejava.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure
public void close()
throws java.io.IOException,
java.rmi.RemoteException
close in interface RemoteIO.RemoteOutputStreamRemotejava.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||