MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / SecureRpcHelper96

Method SecureRpcHelper96

src/SecureRpcHelper96.java:63–70  ·  view source on GitHub ↗

Ctor that instantiates the authentication provider and attempts to authenticate at the same time. @param hbase_client The Hbase client we belong to @param region_client The region client we're dealing with @param remote_endpoint The remote endpoint of the HBase Region server.

(final HBaseClient hbase_client, 
      final RegionClient region_client, final SocketAddress remote_endpoint)

Source from the content-addressed store, hash-verified

61 * @param remote_endpoint The remote endpoint of the HBase Region server.
62 */
63 public SecureRpcHelper96(final HBaseClient hbase_client,
64 final RegionClient region_client, final SocketAddress remote_endpoint) {
65 super(hbase_client, region_client, remote_endpoint);
66 connection_header = new byte[] { 'H', 'B', 'a', 's',
67 0, // RPC version.
68 client_auth_provider.getAuthMethodCode() //authmethod
69 };
70 }
71
72 @Override
73 public void sendHello(final Channel channel) {

Callers

nothing calls this directly

Calls 1

getAuthMethodCodeMethod · 0.45

Tested by

no test coverage detected