|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--submarine.util.esKernel | +--submarine.connectors.SubMLListener.Server
Field Summary | |
private java.lang.String |
encoding
|
private char |
endOfStream
|
private Submiter |
submiter
|
Fields inherited from class submarine.util.esKernel |
BUILD, cachedPID, client, clientInput, clientOutput, clientPID, curPID, dontLoad, FREE, freeSOCKETS, MAXIMUMSOCKETS, NAME, Ninja, noNinja, OWNED, quietMode, Samurai, server, serverPORT, theThread, theThreadGroup, VERSION |
Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
Constructor Summary | |
SubMLListener.Server(java.lang.String[] argv,
Submiter s,
java.lang.String enc)
|
Method Summary | |
void |
clientLogin(int lPID)
Once a user(lPID) logs in this function is kicked off |
void |
clientLogout(int lPID)
Once a user(lPID) logs off this function is kicked off |
void |
clientRecieve(java.lang.String lineIn,
int lPID)
when the user sends information to the server this function kicks off |
java.lang.Object |
manageXMLRequest(java.io.BufferedReader r,
Submiter submiter)
|
void |
manageXMLResponse(java.io.PrintWriter w,
java.lang.Object o)
|
void |
serverStarted()
Once the server is started it will call this function |
Methods inherited from class submarine.util.esKernel |
buildLazy, clientReader, clientSend, clientWriter, disconnectClient, getClientPID, loadSockets, parseCommandLineInput, parseDataInput, run, setEncoding, setPort, setQuiet, setSockets, showError, showHelp, showVersion, startCommandLineStream, startServer, statusMessage, stopServer |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Submiter submiter
private java.lang.String encoding
private char endOfStream
Constructor Detail |
public SubMLListener.Server(java.lang.String[] argv, Submiter s, java.lang.String enc)
Method Detail |
public void serverStarted()
serverStarted
in class esKernel
public void clientLogin(int lPID)
clientLogin
in class esKernel
public void clientLogout(int lPID)
clientLogout
in class esKernel
public void clientRecieve(java.lang.String lineIn, int lPID)
clientRecieve
in class esKernel
public void manageXMLResponse(java.io.PrintWriter w, java.lang.Object o) throws java.lang.Exception
public java.lang.Object manageXMLRequest(java.io.BufferedReader r, Submiter submiter) throws java.lang.Exception
|
Submarine project. free distribution of this software must include the opensource licence. Guénolé de Cadoudal. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |