public abstract class AbstractBasicInvokeHandler extends Object implements InvokeHandler
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<String,Context> |
invokeIdContextMap |
| Constructor and Description |
|---|
AbstractBasicInvokeHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endSession(String invokeId) |
Context |
getContextByInvokeId(String invokeId) |
abstract String |
getType() |
void |
invokeService(InvokeInfo input,
Context context) |
abstract void |
invokeServiceInternal(InvokeInfo invokeInfo,
Context context) |
abstract void |
onEndSession(String invokeId,
Context context) |
void |
sendMessageToService(Message message) |
abstract void |
sendMessageToService(Message message,
Context context) |
protected ConcurrentHashMap<String,Context> invokeIdContextMap
public abstract String getType()
getType in interface InvokeHandlerpublic abstract void invokeServiceInternal(InvokeInfo invokeInfo, Context context)
public void invokeService(InvokeInfo input, Context context)
invokeService in interface InvokeHandlerpublic void sendMessageToService(Message message)
sendMessageToService in interface InvokeHandlerpublic void endSession(String invokeId)
endSession in interface InvokeHandlerCopyright © 2015. All rights reserved.