95 if (connection == NULL)
140 #define ENUM_TEXT(code) case code : return #code;
150 default:
return "<Unknown>";
206 default:
return "<Unknown>";
286 }
catch (std::bad_alloc &)
394 while (current != NULL)
400 current = current->
next;
421 while (current != NULL)
427 current = current->
next;
const char * ServerManagerText(ServerManager code)
const char * ServerOperationText(ServerOperation code)
@ GET_SESSION_QUEUE_COUNT
@ PULL_FROM_SESSION_QUEUE
@ ITERATE_MACRO_DESCRIPTORS
#define CONCURRENCY_TRACE
std::list< APIServerThread * > terminatedThreads
APIServerInstance * getInstance(ServiceMessage &m)
void processMessages(SysServerConnection *connection)
void listenForConnections()
void sessionTerminated(APIServerThread *thread)
void cleanupProcessResources(ServiceMessage &message)
virtual bool isStoppable()
APIServerInstance * instances
void dispatch(ServiceMessage &message)
void cleanupTerminatedSessions()
bool isUser(ServiceMessage &message)
void dispatch(ServiceMessage &message)
virtual bool isStoppable()
void cleanupProcessResources(ServiceMessage &message)
void setExceptionInfo(ErrorCode error, const char *message)
ServerManager messageTarget
void readMessage(SysServerConnection *server)
ServerOperation operation
char userid[MAX_USERID_LENGTH]
void writeResult(SysServerConnection *server)
void release(const char *ds, int di)
void request(const char *ds, int di)
SysServerConnection * connect()
static wholenumber_t currentThreadId()
static bool traceConcurrency()
void dbgprintf(const char *format,...)