Node Director
Public Member Functions | Protected Member Functions | List of all members
sfi.director.util.DataTransferHooker Class Reference
Inheritance diagram for sfi.director.util.DataTransferHooker:
sfi.director.util.DataTransferInputStream

Public Member Functions

 DataTransferHooker (DataTransferHook hook)
synchronized int read () throws IOException
synchronized int read (byte[] data) throws IOException
synchronized int read (byte[] data, int off, int len) throws IOException
- Public Member Functions inherited from sfi.director.util.DataTransferInputStream
 DataTransferInputStream ()
void push (final byte[] data) throws IOException
 Push a byte array of data on the writer side.
synchronized void push (final byte[] data, int start, int length) throws IOException
synchronized void done ()
 Close the stream (writer side).
boolean markSupported ()
synchronized int available ()
synchronized void close ()
int maxBuffer ()
void maxBuffer (int newsize)

Protected Member Functions

void senderWait ()
 push will never wait.
void ensureData () throws IOException

Constructor & Destructor Documentation

sfi.director.util.DataTransferHooker.DataTransferHooker ( DataTransferHook  hook)

Member Function Documentation

void sfi.director.util.DataTransferHooker.ensureData ( ) throws IOException
protected
synchronized int sfi.director.util.DataTransferHooker.read ( ) throws IOException
synchronized int sfi.director.util.DataTransferHooker.read ( byte[]  data) throws IOException
synchronized int sfi.director.util.DataTransferHooker.read ( byte[]  data,
int  off,
int  len 
) throws IOException
void sfi.director.util.DataTransferHooker.senderWait ( )
protected

push will never wait.

Reimplemented from sfi.director.util.DataTransferInputStream.


The documentation for this class was generated from the following file: