39 #ifndef ServiceMessage_HPP_INCLUDED
40 #define ServiceMessage_HPP_INCLUDED
44 #include "SysCSStream.hpp"
45 #include "SysProcess.hpp"
62 char *newString =
new char[strlen(oldString) + 1];
63 strcpy(newString, oldString);
69 #define REXX_API_PORT 10010
246 if (userPointer != NULL)
262 if (userPointer != NULL)
char * dupString(const char *oldString)
@ QUEUE_NO_DATA_AVAILABLE
@ MACRO_RETRIEVE_NEXT_BUFFER
@ MACRO_ITERATION_STARTED
@ GET_SESSION_QUEUE_COUNT
@ PULL_FROM_SESSION_QUEUE
@ ITERATE_MACRO_DESCRIPTORS
const char * getMessage()
void setExceptionInfo(ErrorCode error, const char *message)
size_t getMessageDataLength()
ServerManager messageTarget
void readResult(SysClientStream &server)
void readMessage(SysServerConnection *server)
ServerOperation operation
void setMessageData(void *data, size_t length)
char userid[MAX_USERID_LENGTH]
void clearExceptionInfo()
static void releaseResultMemory(void *mem)
void writeResult(SysServerConnection *server)
void * allocateMessageData(size_t length)
void transferMessageData(RXSTRING &data)
void setResult(ServiceReturn code)
static void * allocateResultMemory(size_t length)
void writeMessage(SysClientStream &server)
void setExceptionInfo(ServiceException *e)
ServiceRegistrationData(const char *module)
void setUserData(const char *userPointer)
char procedureName[MAX_NAME_LENGTH]
ServiceRegistrationData(const char *module, const char *proc, bool drop, const char *userPointer)
void retrieveUserData(char *userPointer)
ServiceRegistrationData(REXXPFN entry, const char *userPointer)
char moduleName[MAX_NAME_LENGTH]
#define MAKERXSTRING(r, p, l)