A C G M N O S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AsyncEndpointClientSpi - Interface in org.eclipse.keyple.distributed.spi
-
SPI of the client endpoint using an asynchronous network protocol.
- AsyncEndpointServerSpi - Interface in org.eclipse.keyple.distributed.spi
-
SPI of the server endpoint using an asynchronous network protocol.
- AsyncNodeClient - Interface in org.eclipse.keyple.distributed
-
API of the Node associated to a client endpoint using an asynchronous network protocol.
- AsyncNodeServer - Interface in org.eclipse.keyple.distributed
-
API of the Node associated to a server endpoint using an asynchronous network protocol.
C
- closeSession(String) - Method in interface org.eclipse.keyple.distributed.spi.AsyncEndpointClientSpi
-
Invoked by the
AsyncNodeClient
node to close a communication session with the server identified by the provided sessionId.
Following the closing of the session you must : Unregister the session associated to the provided sessionId.
G
- getAction() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the name of the internal action to perform in case of a request, or the original action performed in case of a response.
- getApiLevel() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the API level or 0 if the message is received from a system using a version of this library lower than
2.3.0
- getBody() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the body content.
- getClientNodeId() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the client node id.
- getLocalReaderName() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the name of the local reader name associated to the transaction.
- getRemoteReaderName() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the name of the remote reader associated to the transaction.
- getServerNodeId() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the server node id.
In case of a multi-servers environment, this field will permit to client or load balancer to identify the target server to access. - getSessionId() - Method in class org.eclipse.keyple.distributed.MessageDto
-
Returns the session id.
In case of a full duplex communication, this field will permit to client and server to identify the socket.
This id is also useful for debugging.
M
- MessageDto - Class in org.eclipse.keyple.distributed
-
This POJO contains data exchanged between Local and Remote components.
- MessageDto() - Constructor for class org.eclipse.keyple.distributed.MessageDto
-
Constructor.
- MessageDto(MessageDto) - Constructor for class org.eclipse.keyple.distributed.MessageDto
-
Constructor by copy.
N
- NodeCommunicationException - Exception in org.eclipse.keyple.distributed
-
This exception is thrown when an error occurs during the communication between nodes.
- NodeCommunicationException(String) - Constructor for exception org.eclipse.keyple.distributed.NodeCommunicationException
- NodeCommunicationException(String, Throwable) - Constructor for exception org.eclipse.keyple.distributed.NodeCommunicationException
-
Encapsulates a lower level external exception.
O
- onClose(String) - Method in interface org.eclipse.keyple.distributed.AsyncNodeClient
-
Must be invoked by the
AsyncEndpointClientSpi
endpoint following the closing of a communication session with the server. - onClose(String) - Method in interface org.eclipse.keyple.distributed.AsyncNodeServer
-
Must be invoked by the
AsyncEndpointServerSpi
endpoint following the closing of a communication session with the client. - onError(String, Throwable) - Method in interface org.eclipse.keyple.distributed.AsyncNodeClient
-
Must be invoked by the
AsyncEndpointClientSpi
endpoint if a technical error occurs when sending a message to the server. - onError(String, Throwable) - Method in interface org.eclipse.keyple.distributed.AsyncNodeServer
-
Must be invoked by the
AsyncEndpointServerSpi
endpoint if a technical error occurs when sending a message to the client. - onMessage(MessageDto) - Method in interface org.eclipse.keyple.distributed.AsyncNodeClient
-
Must be invoked by the
AsyncEndpointClientSpi
endpoint following the reception and deserialization of aMessageDto
from the server. - onMessage(MessageDto) - Method in interface org.eclipse.keyple.distributed.AsyncNodeServer
-
Must be invoked by the
AsyncEndpointServerSpi
endpoint following the reception and deserialization of aMessageDto
from the client. - onOpen(String) - Method in interface org.eclipse.keyple.distributed.AsyncNodeClient
-
Must be invoked by the
AsyncEndpointClientSpi
endpoint following the opening of a new communication session with the server. - onRequest(MessageDto) - Method in interface org.eclipse.keyple.distributed.SyncNodeServer
-
Must be invoked by the server controller endpoint following the reception and deserialization of a
MessageDto
from the client. - openSession(String) - Method in interface org.eclipse.keyple.distributed.spi.AsyncEndpointClientSpi
-
Invoked by the
AsyncNodeClient
node to open a communication session with the server. - org.eclipse.keyple.distributed - package org.eclipse.keyple.distributed
-
APIs of the Network components (Nodes, DTOs, Exceptions).
- org.eclipse.keyple.distributed.spi - package org.eclipse.keyple.distributed.spi
-
SPIs used by the Network components (Network Endpoints).
S
- sendMessage(MessageDto) - Method in interface org.eclipse.keyple.distributed.spi.AsyncEndpointClientSpi
-
Invoked by the
AsyncNodeClient
node to send aMessageDto
to the server.
You have to : Find the opened session using the accessible sessionId value using the methodMessageDto.getSessionId()
on the provided message to send. - sendMessage(MessageDto) - Method in interface org.eclipse.keyple.distributed.spi.AsyncEndpointServerSpi
-
Invoked by the
AsyncNodeServer
node to send aMessageDto
to the client.
You have to : Find the opened session using the accessible sessionId value using the methodMessageDto.getSessionId()
on the provided message to send. - sendRequest(MessageDto) - Method in interface org.eclipse.keyple.distributed.spi.SyncEndpointClientSpi
-
Invoked by the
SyncNodeClient
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
. - setAction(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setApiLevel(int) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setBody(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setClientNodeId(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setLocalReaderName(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setRemoteReaderName(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setServerNodeId(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- setSessionId(String) - Method in class org.eclipse.keyple.distributed.MessageDto
-
This setter method must only be used during the deserialization process.
- SyncEndpointClientSpi - Interface in org.eclipse.keyple.distributed.spi
-
SPI of the client endpoint using a synchronous network protocol.
- SyncNodeClient - Interface in org.eclipse.keyple.distributed
-
API of the Node associated to a client endpoint using a synchronous network protocol.
- SyncNodeServer - Interface in org.eclipse.keyple.distributed
-
API of the Node associated to a server endpoint using a synchronous network protocol.
All Classes All Packages