public class ControlConnectionManager extends ReconnectingConnection<ControlConnection,BitControl.BitControlHandshake>
ReconnectingConnection.CloseHandler, ReconnectingConnection.CloseHandlerCreator, ReconnectingConnection.ConnectionListeningFuture<R extends MessageLite,C extends RpcCommand<R,CONNECTION_TYPE>>
Constructor and Description |
---|
ControlConnectionManager(CoordinationProtos.DrillbitEndpoint remoteEndpoint,
CoordinationProtos.DrillbitEndpoint localIdentity,
ControlMessageHandler handler,
BootStrapContext context) |
Modifier and Type | Method and Description |
---|---|
CoordinationProtos.DrillbitEndpoint |
getEndpoint() |
protected BasicClient<?,ControlConnection,BitControl.BitControlHandshake,?> |
getNewClient() |
addExternalConnection, close, getCloseHandlerCreator, runCommand
public ControlConnectionManager(CoordinationProtos.DrillbitEndpoint remoteEndpoint, CoordinationProtos.DrillbitEndpoint localIdentity, ControlMessageHandler handler, BootStrapContext context)
protected BasicClient<?,ControlConnection,BitControl.BitControlHandshake,?> getNewClient()
getNewClient
in class ReconnectingConnection<ControlConnection,BitControl.BitControlHandshake>
public CoordinationProtos.DrillbitEndpoint getEndpoint()
Copyright © 2015 The Apache Software Foundation. All rights reserved.