|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Server<CH extends ConnectionHandler>
Server to handle the input.
Required to be implemented by the handler provider.
| Method Summary | |
|---|---|
void |
processRequest(CH connectionHandler,
Object attachment)
Starts the processing the request identified by the ConnectionHandler with the Server. |
void |
setManagedObjectExecuteContext(ManagedObjectExecuteContext<Indexed> executeContext)
Provides the Server the ManagedObjectExecuteContext to
enable it to invoke ProcessState instances to process input. |
| Method Detail |
|---|
void setManagedObjectExecuteContext(ManagedObjectExecuteContext<Indexed> executeContext)
Server the ManagedObjectExecuteContext to
enable it to invoke ProcessState instances to process input.
executeContext - ManagedObjectExecuteContext.
void processRequest(CH connectionHandler,
Object attachment)
throws IOException
Starts the processing the request identified by the
ConnectionHandler with the Server.
To process a stream of input have the ConnectionHandler complete
the Request with zero size and use the Connection passed
to the ConnectionHandler.
connectionHandler - ConnectionHandler for the Connection.attachment - Optional attachment provided by the ConnectionHandler
specific to this request. May be null.
IOException - If fails to start processing the request.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||