public class SaslStreamServerDriver extends Object implements io.grpc.stub.StreamObserver<SaslMessage>
Constructor and Description |
---|
SaslStreamServerDriver(AuthenticationServer authenticationServer)
Creates
SaslStreamServerDriver for given AuthenticationServer . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the authentication stream.
|
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 SaslStreamServerDriver(AuthenticationServer authenticationServer)
SaslStreamServerDriver
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.