|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IoState | |
---|---|
com.faunos.util.net | Facilities for non-blocking network I/O. |
com.faunos.util.net.http | A skeletal implementation of a simple non-blocking HTTP server. |
Uses of IoState in com.faunos.util.net |
---|
Methods in com.faunos.util.net that return IoState | |
---|---|
IoState |
AsynchStagelet.init(HandletContext context)
Asynchronously invokes the AsynchStagelet.nextStage() method, pushes the returned stagelet onto the stack, initializes it, and notifies the container that it is done processing. |
IoState |
StageletStack.init(HandletContext context)
|
IoState |
Handlet.init(HandletContext context)
Initializes the handlet. |
IoState |
AsynchStagelet.read(ScatteringByteChannel in)
Not implemented. |
IoState |
StageletStack.read(ScatteringByteChannel in)
|
IoState |
Handlet.read(ScatteringByteChannel in)
Reads from the specified channel and returns the possibly new state of the instance. |
IoState |
AsynchStagelet.state()
Returns DONE, if unwound; PROCESSING, otherwise. |
IoState |
StageletStack.state()
|
IoState |
Handlet.state()
Returns the state of the handlet. |
IoState |
AsynchStagelet.unwind(IoState preState)
Sets the state to DONE. |
IoState |
Stagelet.unwind(IoState preState)
Callback method invoked when the previous stage[let] returned DONE. |
static IoState |
IoState.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IoState[] |
IoState.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
IoState |
AsynchStagelet.write(GatheringByteChannel out)
Not implemented. |
IoState |
StageletStack.write(GatheringByteChannel out)
|
IoState |
Handlet.write(GatheringByteChannel out)
Writes to the specified channel and returns the possibly new state of the instance. |
Methods in com.faunos.util.net with parameters of type IoState | |
---|---|
IoState |
AsynchStagelet.unwind(IoState preState)
Sets the state to DONE. |
IoState |
Stagelet.unwind(IoState preState)
Callback method invoked when the previous stage[let] returned DONE. |
Uses of IoState in com.faunos.util.net.http |
---|
Methods in com.faunos.util.net.http that return IoState | |
---|---|
IoState |
RequestStage.init(HandletContext context)
|
IoState |
FileChannelStagelet.init(HandletContext context)
|
IoState |
ResponseHeaderStage.init(HandletContext context)
Commits the changes. |
IoState |
RequestStage.read(ScatteringByteChannel in)
|
IoState |
FileChannelStagelet.read(ScatteringByteChannel in)
Not used. |
IoState |
ResponseHeaderStage.read(ScatteringByteChannel in)
Not implemented. |
IoState |
RequestStage.state()
|
IoState |
FileChannelStagelet.state()
|
IoState |
ResponseHeaderStage.state()
|
IoState |
RequestStage.unwind(IoState preState)
|
IoState |
FileChannelStagelet.unwind(IoState preState)
|
IoState |
ResponseHeaderStage.unwind(IoState preState)
Not invoked in the base implementation, since this stage does not push another stagelet onto the stack. |
IoState |
RequestStage.write(GatheringByteChannel out)
|
IoState |
FileChannelStagelet.write(GatheringByteChannel out)
|
IoState |
ResponseHeaderStage.write(GatheringByteChannel out)
Writes the HTTP headers. |
Methods in com.faunos.util.net.http with parameters of type IoState | |
---|---|
IoState |
RequestStage.unwind(IoState preState)
|
IoState |
FileChannelStagelet.unwind(IoState preState)
|
IoState |
ResponseHeaderStage.unwind(IoState preState)
Not invoked in the base implementation, since this stage does not push another stagelet onto the stack. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |