T
- handshake rpc typeC
- Client connection typeHS
- Handshake send typeHR
- Handshake receive typepublic class AuthenticationOutcomeListener<T extends com.google.protobuf.Internal.EnumLite,C extends ClientConnection,HS extends com.google.protobuf.MessageLite,HR extends com.google.protobuf.MessageLite> extends Object implements RpcOutcomeListener<UserBitShared.SaslMessage>
Constructor and Description |
---|
AuthenticationOutcomeListener(BasicClient<T,C,HS,HR> client,
C connection,
T saslRpcType,
org.apache.hadoop.security.UserGroupInformation ugi,
RpcOutcomeListener<?> completionListener) |
Modifier and Type | Method and Description |
---|---|
void |
failed(RpcException ex)
Called when an error occurred while waiting for the RPC outcome.
|
void |
initiate(String mechanismName) |
void |
interrupted(InterruptedException e)
Called when the sending thread is interrupted.
|
void |
success(UserBitShared.SaslMessage value,
io.netty.buffer.ByteBuf buffer) |
public AuthenticationOutcomeListener(BasicClient<T,C,HS,HR> client, C connection, T saslRpcType, org.apache.hadoop.security.UserGroupInformation ugi, RpcOutcomeListener<?> completionListener)
public void initiate(String mechanismName)
public void failed(RpcException ex)
RpcOutcomeListener
failed
in interface RpcOutcomeListener<UserBitShared.SaslMessage>
public void success(UserBitShared.SaslMessage value, io.netty.buffer.ByteBuf buffer)
success
in interface RpcOutcomeListener<UserBitShared.SaslMessage>
public void interrupted(InterruptedException e)
RpcOutcomeListener
interrupted
in interface RpcOutcomeListener<UserBitShared.SaslMessage>
Copyright © 1970 The Apache Software Foundation. All rights reserved.