| Package | Description |
|---|---|
| org.eclipse.keyple.distributed |
Contains the APIs of the Network components (Nodes, DTOs, Exceptions).
|
| org.eclipse.keyple.distributed.spi |
Contains the SPIs used by the Network components (Network Endpoints).
|
| Modifier and Type | Method and Description |
|---|---|
MessageDto |
MessageDto.setAction(java.lang.String action)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setBody(java.lang.String body)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setClientNodeId(java.lang.String clientNodeId)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setLocalReaderName(java.lang.String localReaderName)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setRemoteReaderName(java.lang.String remoteReaderName)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setServerNodeId(java.lang.String serverNodeId)
This setter method must only be used during the deserialization process.
|
MessageDto |
MessageDto.setSessionId(java.lang.String sessionId)
This setter method must only be used during the deserialization process.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MessageDto> |
SyncNodeServer.onRequest(MessageDto msg)
Must be invoked by the server controller endpoint following the reception and deserialization
of a
MessageDto from the client. |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncNodeClient.onMessage(MessageDto msg)
Must be invoked by the
AsyncEndpointClient endpoint following the reception and
deserialization of a MessageDto from the server. |
void |
AsyncNodeServer.onMessage(MessageDto msg)
Must be invoked by the
AsyncEndpointServer endpoint following the reception and
deserialization of a MessageDto from the client. |
java.util.List<MessageDto> |
SyncNodeServer.onRequest(MessageDto msg)
Must be invoked by the server controller endpoint following the reception and deserialization
of a
MessageDto from the client. |
| Constructor and Description |
|---|
MessageDto(MessageDto from)
Constructor by copy.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MessageDto> |
SyncEndpointClient.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. |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncEndpointClient.sendMessage(MessageDto msg)
Is invoked by the
AsyncNodeClient node to send a MessageDto to the server. |
void |
AsyncEndpointServer.sendMessage(MessageDto msg)
Is invoked by the
AsyncNodeServer node to send a MessageDto to the client. |
java.util.List<MessageDto> |
SyncEndpointClient.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. |