Top Methods
org.glassfish.grizzly.streams

public Interface Input

Known Direct Implementers
org.glassfish.grizzly.streams.StreamInput, org.glassfish.grizzly.streams.BufferedInput
Imports
java.io.IOException, org.glassfish.grizzly.Buffer, .CompletionHandler, .GrizzlyFuture, org.glassfish.grizzly.utils.conditions.Condition

Author
Alexey Stashok

Method Summary

Modifier and TypeMethod and Description
public void
public Buffer

Returns:

the Input's Buffer.
getBuffer
()

Return the Input's Buffer.

public boolean
public GrizzlyFuture<Integer>
notifyCondition(final Condition condition, final CompletionHandler<Integer> completionHandler)

public byte
read()

public int
size()

public void
skip(int length)

public Buffer

Returns:

the Input's Buffer. This Input should never try to access this Buffer.
takeBuffer
()

Takes the Input's Buffer.

Method Detail

closeback to summary
public void close() throws IOException
getBufferback to summary
public Buffer getBuffer()

Return the Input's Buffer.

Returns:Buffer

the Input's Buffer.

isBufferedback to summary
public boolean isBuffered()
notifyConditionback to summary
public GrizzlyFuture<Integer> notifyCondition(final Condition condition, final CompletionHandler<Integer> completionHandler)
readback to summary
public byte read() throws IOException
sizeback to summary
public int size()
skipback to summary
public void skip(int length)
takeBufferback to summary
public Buffer takeBuffer()

Takes the Input's Buffer. This Input should never try to access this Buffer.

Returns:Buffer

the Input's Buffer. This Input should never try to access this Buffer.