Java org.apache.hadoop.ipc RPC fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.ipc RPC fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.ipc RPC.

The text is from its open source code.

Method

StringgetProtocolName(Class protocol)
Get the protocol name.
ProtocolProxygetProtocolProxy(Class protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory)
Get a protocol proxy that contains a proxy connection to a remote server and a set of methods that are supported by the server
ProtocolProxygetProtocolProxy(Class protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory, int rpcTimeout, RetryPolicy connectionRetryPolicy)
Get a protocol proxy that contains a proxy connection to a remote server and a set of methods that are supported by the server
longgetProtocolVersion(Class protocol)
Get the protocol version from protocol class.
TgetProxy(Class protocol, long clientVersion, InetSocketAddress addr, Configuration conf)
Construct a client-side proxy object with the default SocketFactory
TgetProxy(Class protocol, long clientVersion, InetSocketAddress addr, Configuration conf, SocketFactory factory)
Construct a client-side proxy object that implements the named protocol, talking to a server at the named address.
TgetProxy(Class protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory, int rpcTimeout)
Construct a client-side proxy that implements the named protocol, talking to a server at the named address.
TgetProxy(Class protocol, long clientVersion, InetSocketAddress addr, UserGroupInformation ticket, Configuration conf, SocketFactory factory)
Construct a client-side proxy object that implements the named protocol, talking to a server at the named address.
InetSocketAddressgetServerAddress(Object proxy)
Returns the server address for a given proxy.
voidsetProtocolEngine(Configuration conf, Class protocol, Class engine)
Set a protocol to use a non-default RpcEngine.
voidstopProxy(Object proxy)
Stop the proxy.
TwaitForProxy(Class protocol, long clientVersion, InetSocketAddress addr, Configuration conf)
Get a proxy connection to a remote server
TwaitForProxy(Class protocol, long clientVersion, InetSocketAddress addr, Configuration conf, long connTimeout)
Get a proxy connection to a remote server