public interface SyncEndpointClient
You must provide an implementation of this interface if you plan to use a Client-Server communication protocol, such as standard HTTP for example.
This endpoint interacts only with a remote server controller.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MessageDto> |
sendRequest(MessageDto msg)
Is invoked by the
SyncNodeClient node to send a MessageDto to the server.You have to serialize and send the provided MessageDto to the server, then retry the
response which is a list of MessageDto. |
java.util.List<MessageDto> sendRequest(MessageDto msg)
SyncNodeClient node to send a MessageDto to the server.MessageDto to the server, then retry the
response which is a list of MessageDto.msg - The message to send.