public class AuthenticatedChannelServerDriver extends Object implements io.grpc.stub.StreamObserver<SaslMessage>
Constructor and Description |
---|
AuthenticatedChannelServerDriver(AuthenticationServer authenticationServer)
Creates
AuthenticatedChannelServerDriver for given AuthenticationServer . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Completes authenticated channel.
|
void |
onCompleted() |
void |
onError(Throwable throwable) |
void |
onNext(SaslMessage saslMessage) |
void |
setClientObserver(io.grpc.stub.StreamObserver<SaslMessage> requestObserver)
Sets the client's Sasl stream.
|
public AuthenticatedChannelServerDriver(AuthenticationServer authenticationServer)
AuthenticatedChannelServerDriver
for given AuthenticationServer
.authenticationServer
- authentication serverpublic void setClientObserver(io.grpc.stub.StreamObserver<SaslMessage> requestObserver)
requestObserver
- client Sasl streampublic void onNext(SaslMessage saslMessage)
onNext
in interface io.grpc.stub.StreamObserver<SaslMessage>
public void onError(Throwable throwable)
onError
in interface io.grpc.stub.StreamObserver<SaslMessage>
public void onCompleted()
onCompleted
in interface io.grpc.stub.StreamObserver<SaslMessage>
public void close()
Copyright © 2023. All Rights Reserved.