Interface RemoteTransportClient

All Known Implementing Classes:
TransportService

public interface RemoteTransportClient
Utility for sending requests over the transport protocol to nodes in the cluster.
  • 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 to
      action - The transport action name to execute on the node
      request - The request object to send
      handler - A handler for the success/failure of the request