Package com.yahoo.search.dispatch.rpc
Class RpcClient
java.lang.Object
com.yahoo.search.dispatch.rpc.RpcClient
- All Implemented Interfaces:
Client
A client which uses rpc request to search nodes to implement the Client API.
- Author:
- bratseth
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.search.dispatch.rpc.Client
Client.GetDocsumsResponse, Client.NodeConnection, Client.ProtobufResponse, Client.ResponseOrError<T>, Client.ResponseReceiver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createConnection
(String hostname, int port) Creates a connection to a particular node in this
-
Constructor Details
-
RpcClient
-
-
Method Details
-
close
public void close() -
createConnection
Description copied from interface:Client
Creates a connection to a particular node in this- Specified by:
createConnection
in interfaceClient
-