public interface Messenger<ReqT,ReplyT>
Modifier and Type | Method and Description |
---|---|
void |
sendRequest(ReqT request)
Send a message using the messenger service
|
void |
start(ReplyHandler<ReplyT> callback)
Start listening for replies and call the reply handler with any replies received.
|
void sendRequest(ReqT request) throws Exception
Exception
void start(ReplyHandler<ReplyT> callback)
Copyright © 2022. All rights reserved.