|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asyncobjects.AsyncUnicastServer<I> net.sf.asyncobjects.io.Pipe.InternalPipeInput
public class Pipe.InternalPipeInput
This is an internal class. Input of the pipe. This class supports
AByteInput
interface.
Constructor Summary | |
---|---|
protected |
Pipe.InternalPipeInput()
a private constructor |
Method Summary | |
---|---|
Promise<Void> |
close()
close stream |
Promise<Boolean> |
isPushbackSupported()
|
Promise<Void> |
pushback(D pushbackData)
Push data back to the stream |
Promise<D> |
read(int limit)
read some bytes |
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer |
---|
dereference, export, isImmediate, myVat, promise |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.asyncobjects.AsyncObject |
---|
dereference, isImmediate |
Constructor Detail |
---|
protected Pipe.InternalPipeInput()
Method Detail |
---|
public Promise<D> read(int limit)
read
in interface AInput<D extends BatchedData<D>>
limit
- a maximum amount of data expected by client.
AInput.read(int)
public Promise<Void> pushback(D pushbackData)
pushback
in interface AInput<D extends BatchedData<D>>
pushbackData
- a data that is being pushed back
AInput.pushback(BatchedData)
public Promise<Void> close()
close
in interface ACloseable
ACloseable.close()
public Promise<Boolean> isPushbackSupported()
isPushbackSupported
in interface AInput<D extends BatchedData<D>>
AInput.isPushbackSupported()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |