Package sk.ipesoft.d2000.d2japi
Interface RPCConversationHandler
-
public interface RPCConversationHandlerRaw handler of RPC conversation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAborted(RPCConversationContext conversationContext, RPCConversationAbortReason abortReason)Handle RPC conversation abortion.voidonCalled(RPCCallEvent callEvent, RPCConversationContext conversationContext, RPCConversationFlag conversationFlag)Handle asynchronous RPC call from the conversation partner.
-
-
-
Method Detail
-
onAborted
void onAborted(RPCConversationContext conversationContext, RPCConversationAbortReason abortReason)
Handle RPC conversation abortion.- Parameters:
conversationContext- RPC conversation contextabortReason- reason of abortion
-
onCalled
void onCalled(RPCCallEvent callEvent, RPCConversationContext conversationContext, RPCConversationFlag conversationFlag)
Handle asynchronous RPC call from the conversation partner.- Parameters:
callEvent- RPC call dataconversationContext- RPC conversation contextconversationFlag- RPC conversation flag
-
-