|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IModule
Module interface. Simple methods to describe the life of a request. More on this later.
| Method Summary | |
|---|---|
void |
end()
This is called at the end right before the connection is closed. |
InstanceModifier |
getInstanceModifier()
Returns an InstanceModifier object for determining if we need to take any kind of automated action after everything is said and done. |
IModuleData |
run(IModuleData data)
Called after start... |
void |
SaveSocket(java.net.Socket sock)
This is called with a copy of the accepted socket for the connection |
void |
start()
Called to prep any information if needed |
| Method Detail |
|---|
void start()
throws java.lang.Exception
java.lang.Exception - If an error occurs
IModuleData run(IModuleData data)
throws java.lang.Exception
data - The data to pass to the module
java.lang.Exception - If an error occurs.
void end()
throws java.lang.Exception
java.lang.Exception - If an error occurs.void SaveSocket(java.net.Socket sock)
sock - The accepted socket from the server to be used for communication.InstanceModifier getInstanceModifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||