public class CstaResponsesDispatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger
logger for log4j
|
Constructor and Description |
---|
CstaResponsesDispatcher()
Constructor
Initialize the ResponsesBuffer
|
Modifier and Type | Method and Description |
---|---|
void |
addResponseToQueue(java.lang.Integer invokeId,
java.lang.String msg)
If InvokeId exists in the responses Queue, update its MsgBody(was "VOID") to received MsgBody
Notify all waiting threads
|
java.lang.String |
getResponse(java.lang.Integer invokeId)
Get response by InvokeId from Responses Buffer.
|
void |
initResponseEntry(java.lang.Integer invokeId)
Add a Entry
|
public CstaResponsesDispatcher()
public void initResponseEntry(java.lang.Integer invokeId)
invokeId
- public java.lang.String getResponse(java.lang.Integer invokeId)
invokeId
- the response with this InvokeId to retrieve.public void addResponseToQueue(java.lang.Integer invokeId, java.lang.String msg)
invokeId
- msg
-