public interface ThreadSafeRpcEndpoint extends RpcEndpoint
Thread-safety means processing of one message happens before processing of the next message by
the same ThreadSafeRpcEndpoint
. In the other words, changes to internal fields of a
ThreadSafeRpcEndpoint
are visible when processing the next message, and fields in the
ThreadSafeRpcEndpoint
need not be volatile or equivalent.
However, there is no guarantee that the same thread will be executing the same
ThreadSafeRpcEndpoint
for different messages.
onConnected, onDisconnected, onError, onNetworkError, onStart, onStop, receive, receiveAndReply, rpcEnv, self, stop