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)
| 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) { |
nothing calls this directly
no test coverage detected