public class EmbeddedQueueService extends java.lang.Object implements ServiceInterface
Modifier and Type | Class and Description |
---|---|
static class |
EmbeddedQueueService.SendMessageThread |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMMAND_GET |
static java.lang.String |
COMMAND_QUEUE |
static java.lang.String |
DEFAULT_HANDLE_ID |
static java.lang.String |
DEFAULT_SERVICE_NAME |
protected EmbeddedServiceHandle |
fHandle |
protected java.lang.String |
handleID |
static java.lang.String |
OPTION_MESSAGE |
static java.lang.String |
OPTION_NAME |
static java.lang.String |
OPTION_WAIT |
protected com.ibm.staf.service.STAFCommandParser |
parser |
protected java.lang.String |
servicename |
Constructor and Description |
---|
EmbeddedQueueService() |
Modifier and Type | Method and Description |
---|---|
com.ibm.staf.STAFResult |
acceptRequest(InfoInterface.RequestInfo info) |
com.ibm.staf.STAFResult |
get(com.ibm.staf.service.STAFCommandParseResult param) |
java.lang.String |
getHandleID() |
com.ibm.staf.STAFResult |
init(InfoInterface.InitInfo initInfo) |
static void |
main(java.lang.String[] args)
This is used to test the queue service.
|
com.ibm.staf.STAFResult |
queue(com.ibm.staf.service.STAFCommandParseResult param) |
com.ibm.staf.STAFResult |
terminate() |
com.ibm.staf.STAFResult |
terminateService() |
public static final java.lang.String DEFAULT_HANDLE_ID
public static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String COMMAND_QUEUE
public static final java.lang.String COMMAND_GET
public static final java.lang.String OPTION_NAME
public static final java.lang.String OPTION_WAIT
public static final java.lang.String OPTION_MESSAGE
protected EmbeddedServiceHandle fHandle
protected java.lang.String servicename
protected java.lang.String handleID
protected com.ibm.staf.service.STAFCommandParser parser
public com.ibm.staf.STAFResult init(InfoInterface.InitInfo initInfo)
public com.ibm.staf.STAFResult acceptRequest(InfoInterface.RequestInfo info)
acceptRequest
in interface ServiceInterface
public com.ibm.staf.STAFResult queue(com.ibm.staf.service.STAFCommandParseResult param)
public com.ibm.staf.STAFResult get(com.ibm.staf.service.STAFCommandParseResult param)
public com.ibm.staf.STAFResult terminate()
public java.lang.String getHandleID()
public static void main(java.lang.String[] args)
public com.ibm.staf.STAFResult terminateService()
terminateService
in interface ServiceInterface
Copyright © SAS Institute. All Rights Reserved.