|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asyncobjects.AsyncUnicastServer<O> net.sf.asyncobjects.io.Pipe.InternalPipeOutput
public class Pipe.InternalPipeOutput
This is an internal class. Output of the pipe. This class supports
AByteOutput
interface.
Constructor Summary | |
---|---|
protected |
Pipe.InternalPipeOutput()
A constructor |
Method Summary | |
---|---|
Promise<Void> |
close()
close stream |
Promise<Void> |
flush()
Flush output |
Promise<Void> |
write(D buffer)
Write data to stream |
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.InternalPipeOutput()
Method Detail |
---|
public Promise<Void> write(D buffer)
write
in interface AOutput<D extends BatchedData<D>>
buffer
- a data to write
AOutput.write(BatchedData)
public Promise<Void> flush()
flush
in interface AOutput<D extends BatchedData<D>>
AOutput.flush()
public Promise<Void> close()
close
in interface ACloseable
ACloseable.close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |