- All Known Implementing Classes:
TransportService
public interface RemoteTransportClient
Utility for sending requests over the transport protocol to nodes in the cluster.
-
Method Summary
Modifier and TypeMethodDescription<T extends TransportResponse>
voidsendRequest(DiscoveryNode node, String action, TransportRequest request, TransportResponseHandler<T> handler) Send a transport request to a node.
-
Method Details
-
sendRequest
<T extends TransportResponse> void sendRequest(DiscoveryNode node, String action, TransportRequest request, TransportResponseHandler<T> handler) Send a transport request to a node.- Type Parameters:
T- The response type expected from the transport action- Parameters:
node- The node to send the request toaction- The transport action name to execute on the noderequest- The request object to sendhandler- A handler for the success/failure of the request
-