Atavism Version 2018.1AGIS API

atavism.msgsys
Class MessageAgent.BlockingRPCState

java.lang.Object
  extended by atavism.msgsys.MessageAgent.BlockingRPCState
All Implemented Interfaces:
ResponseCallback
Enclosing class:
MessageAgent

public class MessageAgent.BlockingRPCState
extends java.lang.Object
implements ResponseCallback

This class helps handle blocking broadcast rpc. It maintains a counter, and calls through to the real callback method.


Constructor Summary
MessageAgent.BlockingRPCState(ResponseCallback callback)
           
 
Method Summary
 int getResponseCount()
           
 void handleResponse(ResponseMessage response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageAgent.BlockingRPCState

public MessageAgent.BlockingRPCState(ResponseCallback callback)
Method Detail

handleResponse

public void handleResponse(ResponseMessage response)
Specified by:
handleResponse in interface ResponseCallback

getResponseCount

public int getResponseCount()


Copyright © 2018 Dragonsan Studios Sp. z o.o.