Interface SyncEndpointClientSpi
public interface SyncEndpointClientSpi
SPI of the client endpoint using a synchronous network protocol.
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.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionsendRequest
(MessageDto message) Invoked by theSyncNodeClient
node to send aMessageDto
to the server.
You have to serialize and send the providedMessageDto
to the server, then retry the response which is a list ofMessageDto
.
-
Method Details
-
sendRequest
Invoked by theSyncNodeClient
node to send aMessageDto
to the server.
You have to serialize and send the providedMessageDto
to the server, then retry the response which is a list ofMessageDto
.- Parameters:
message
- The message to send.- Returns:
- a null or empty list if there is no result.
- Since:
- 2.0.0
-