42 #include "SysLocalAPIManager.hpp"
79 size_t namelen = strlen(username);
82 const char *valptr = username;
84 while ((ch = *(valptr++)))
87 if (!isalpha(ch) && !isdigit(ch) && ch !=
ch_PERIOD &&
168 return mysessionQueue;
214 strncpy(createdName, message.
nameArg, size);
228 strncpy(createdName, message.
nameArg, size);
452 if (timeStamp != NULL)
@ GET_SESSION_QUEUE_COUNT
@ PULL_FROM_SESSION_QUEUE
virtual void terminateProcess()
virtual void initializeLocal(LocalAPIManager *a)
virtual RexxReturnCode processServiceException(ServiceException *e)
RexxReturnCode clearSessionQueue()
QueueHandle createSessionQueue(SessionID session)
QueueHandle initializeSessionQueue(SessionID s)
RexxReturnCode mapReturnResult(ServiceMessage &m)
RexxReturnCode deleteNamedQueue(const char *name)
RexxReturnCode deleteSessionQueue()
RexxReturnCode getSessionQueueCount(size_t &)
RexxReturnCode getQueueCount(const char *name, size_t &)
RexxReturnCode openNamedQueue(const char *name, size_t *dup)
bool validateQueueName(const char *username)
RexxReturnCode addToSessionQueue(CONSTRXSTRING &data, size_t lifoFifo)
RexxReturnCode pullFromQueue(const char *name, RXSTRING &data, size_t waitFlag, RexxQueueTime *timeStamp)
RexxReturnCode queryNamedQueue(const char *name)
RexxReturnCode clearNamedQueue(const char *name)
RexxReturnCode createNamedQueue(const char *name, size_t size, char *createdName, size_t *dup)
void initializeLocal(LocalAPIManager *a)
RexxReturnCode addToNamedQueue(const char *name, CONSTRXSTRING &data, size_t lifoFifo)
static bool createdSessionQueue
QueueHandle nestSessionQueue(SessionID s, QueueHandle q)
virtual void terminateProcess()
LocalAPIManager * localManager
ServerOperation operation
void setMessageData(void *data, size_t length)
void transferMessageData(RXSTRING &data)
static void setActiveSessionQueue(QueueHandle sessionQueue)
static bool getActiveSessionQueue(QueueHandle &sessionQueue)
static int strCaselessCompare(const char *opt1, const char *opt2)
#define MAX_QUEUE_NAME_LENGTH
void *REXXENTRY RexxAllocateMemory(size_t)
#define RXQUEUE_BADWAITFLAG