ix.iserve.ipc.sl
Class IServeSLCommServer
java.lang.Object
ix.iserve.ipc.IServeCommServer
ix.iserve.ipc.sl.IServeSLCommServer
- All Implemented Interfaces:
- IXAgentExtension
public class IServeSLCommServer
- extends IServeCommServer
Handles messages for a IServeCommStrategy
.
Methods inherited from class ix.iserve.ipc.IServeCommServer |
addServlet, agoTime, do_main, ensureIXUser, ensureUser, fillInRequestInfo, getListenPort, getName, getUser, getUsers, installExtension, makeServerStatus, recordUser, removeUser, removeUser, requireCommand, requireUser, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
headerProperties
final java.util.List<SLHttpHeader> headerProperties
wakeupPool
java.util.concurrent.ExecutorService wakeupPool
rpcClient
SLRpc rpcClient
IServeSLCommServer
public IServeSLCommServer()
IServeSLCommServer
public IServeSLCommServer(IServe containingAgent)
- Constructor used when making an
IXAgentExtension
.
main
public static void main(java.lang.String[] argv)
processCommandLineArguments
protected void processCommandLineArguments()
- Overrides:
processCommandLineArguments
in class IServeCommServer
addServlets
protected void addServlets()
- Overrides:
addServlets
in class IServeCommServer
makeMessageWrapper
protected MessageWrapper makeMessageWrapper(IServeCommServer.Command command,
javax.servlet.http.HttpServletRequest req)
throws HttpRequestException
- Throws:
HttpRequestException
setHeaderAnnotation
protected void setHeaderAnnotation(MessageWrapper w,
SLHttpHeader h,
java.lang.String value)
getHeaderAnnotation
protected java.lang.String getHeaderAnnotation(MessageWrapper w,
SLHttpHeader h)
ensureSLUser
protected IServeCommServer.User ensureSLUser(java.lang.String name)
maybeSendWakeup
void maybeSendWakeup(IServeCommServer.User user)
tryToWakeup
void tryToWakeup(IServeCommServer.User user,
java.util.Date now)