|
| RequestGateway (uint32 id, const char *version=NULL) |
|
bool | init (const char *sslCertPath=NULL, const char *sslKeyPath=NULL) |
|
bool | setWebServerInfo (const char *name, const char *rootdir, const char *indexfile) |
|
bool | setExternalAPILabel (const char *label) |
|
bool | setInternalAPILabel (const char *label) |
|
bool | setCacheFiles (bool cache) |
|
bool | setResponseType (const char *type) |
|
bool | setLongRequestLimit (uint32 limit) |
|
bool | setExecutorHeartbeatTimeout (uint32 timeout) |
|
bool | setQueuingParameters (uint32 maxRequestQueueSize, uint32 maxRequestProcessingSize, uint32 priorityThreshold) |
|
bool | addPort (uint16 port, uint8 encryption, bool enableHTTP=false, uint32 timeout=3000) |
|
bool | addGateway (uint32 id, std::string addr, uint16 port) |
|
bool | addAuthUser (const char *user, const char *password) |
|
bool | receiveNetworkEvent (NetworkEvent *evt, NetworkChannel *channel, uint64 conid) |
|
bool | receiveMessage (DataMessage *msg, NetworkChannel *channel, uint64 conid) |
|
bool | receiveHTTPRequest (HTTPRequest *req, NetworkChannel *channel, uint64 conid) |
|
virtual bool | stop (uint32 timeout=200) |
|
virtual bool | receiveTelnetLine (TelnetLine *line, NetworkChannel *channel, uint64 conid) |
|
virtual bool | receiveHTTPReply (HTTPReply *reply, HTTPRequest *req, NetworkChannel *channel, uint64 conid) |
|
|
bool | runExec () |
|
bool | runClient () |
|
bool | callInternalAPI (const char *apiName, HTTPRequest *req, NetworkChannel *channel, uint64 conid) |
|
bool | callExternalAPI (const char *apiName, HTTPRequest *req, NetworkChannel *channel, uint64 conid) |
|
bool | sendRestartToExecutor (uint64 id) |
|
bool | distributeDeadExecutorRequests (std::list< RequestReply *> &shortQueue, std::list< RequestReply *> &longQueue) |
|
uint64 | getBestExecutorID (std::string requestString, uint32 reqSize, bool &isLongReq) |
|
bool | replyToClient (DataMessage *msg) |
|
bool | addToRequestQueue (DataMessage *msg, uint64 origin, uint64 conID, uint64 clientRef) |
|
bool | addRequestReplyToRequestQueue (RequestReply *reply) |
|