CC - Client Connection ListenerHS - Outbound handshake message typeHR - Inbound handshake message typeBC - BasicClient type
Implements a wrapper class that allows a client connection to associate different behaviours after establishing a connection with the server. The client can choose to send an application handshake, or in the case of SSL, wait for a SSL handshake completion and then send an application handshake.
public class ConnectionMultiListener<T extends com.google.protobuf.Internal.EnumLite,CC extends ClientConnection,HS extends com.google.protobuf.MessageLite,HR extends com.google.protobuf.MessageLite,BC extends BasicClient<T,CC,HS,HR>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionMultiListener.Builder<T extends com.google.protobuf.Internal.EnumLite,CC extends ClientConnection,HS extends com.google.protobuf.MessageLite,HR extends com.google.protobuf.MessageLite,BC extends BasicClient<T,CC,HS,HR>> |
static class |
ConnectionMultiListener.SSLHandshakeListener |
| Modifier and Type | Method and Description |
|---|---|
static <T extends com.google.protobuf.Internal.EnumLite,CC extends ClientConnection,HS extends com.google.protobuf.MessageLite,HR extends com.google.protobuf.MessageLite,BC extends BasicClient<T,CC,HS,HR>> |
newBuilder(RpcConnectionHandler<CC> connectionListener,
HS handshakeValue,
BC basicClient) |
public static <T extends com.google.protobuf.Internal.EnumLite,CC extends ClientConnection,HS extends com.google.protobuf.MessageLite,HR extends com.google.protobuf.MessageLite,BC extends BasicClient<T,CC,HS,HR>> ConnectionMultiListener.Builder<T,CC,HS,HR,BC> newBuilder(RpcConnectionHandler<CC> connectionListener, HS handshakeValue, BC basicClient)
Copyright © 2021 The Apache Software Foundation. All rights reserved.