jist.runtime
Interface RemoteIO.RemoteOutputStreamRemote

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteIO.RemoteOutputStreamReceiver, RemoteIO.RemoteOutputStreamReceiverLocal
Enclosing class:
RemoteIO

public static interface RemoteIO.RemoteOutputStreamRemote
extends java.rmi.Remote

Interface for remote output stream.


Method Summary
 void close()
          Close the underlying remote output stream.
 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.
 

Method Detail

write

void write(int b)
           throws java.io.IOException,
                  java.rmi.RemoteException
Write a byte.

Parameters:
b - byte to write
Throws:
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure

write

void write(byte[] b)
           throws java.io.IOException,
                  java.rmi.RemoteException
Write an array of bytes.

Parameters:
b - array of bytes
Throws:
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure

write

void write(byte[] b,
           int off,
           int len)
           throws java.io.IOException,
                  java.rmi.RemoteException
Write an array of bytes.

Parameters:
b - array of bytes
off - starting offset within array
len - number of bytes to write
Throws:
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure

flush

void flush()
           throws java.io.IOException,
                  java.rmi.RemoteException
Flush output.

Throws:
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure

close

void close()
           throws java.io.IOException,
                  java.rmi.RemoteException
Close the underlying remote output stream.

Throws:
java.io.IOException - underlying input/output error
java.rmi.RemoteException - rpc failure