public class HostControllerServerConnection extends ManagementClientChannelStrategy
Modifier and Type | Class and Description |
---|---|
class |
HostControllerServerConnection.ServerReconnectRequest
The server reconnect request.
|
Constructor and Description |
---|
HostControllerServerConnection(String serverProcessName,
ProtocolChannelClient.Configuration configuration,
ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(CallbackHandler callbackHandler,
ActiveOperation.CompletedCallback<Void> callback)
Connect to the remote host-controller.
|
org.jboss.remoting3.Channel |
getChannel()
Get the channel.
|
ManagementChannelHandler |
getChannelHandler()
Get the management channel handler.
|
void |
reconnect(URI connectionURI,
CallbackHandler callbackHandler,
ActiveOperation.CompletedCallback<Boolean> callback)
Reconnect to the server.
|
create, create
public HostControllerServerConnection(String serverProcessName, ProtocolChannelClient.Configuration configuration, ExecutorService executorService)
public void connect(CallbackHandler callbackHandler, ActiveOperation.CompletedCallback<Void> callback) throws IOException
callback
- the completed callbackIOException
public void reconnect(URI connectionURI, CallbackHandler callbackHandler, ActiveOperation.CompletedCallback<Boolean> callback) throws IOException
connectionURI
- the connection uricallbackHandler
- the callback handlercallback
- the completed callbackIOException
public org.jboss.remoting3.Channel getChannel() throws IOException
getChannel
in class ManagementClientChannelStrategy
IOException
public void close() throws IOException
IOException
public ManagementChannelHandler getChannelHandler()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.