public abstract class FutureManagementChannel extends ManagementClientChannelStrategy implements ProtocolConnectionManager.ConnectionOpenHandler
ManagementClientChannelStrategy.| Modifier and Type | Class and Description |
|---|---|
static class |
FutureManagementChannel.State |
| Constructor and Description |
|---|
FutureManagementChannel() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.remoting3.Channel |
awaitChannel()
Get the underlying channel.
|
protected static IOException |
channelClosed() |
void |
close() |
org.jboss.remoting3.Channel |
getChannel()
Get the channel.
|
FutureManagementChannel.State |
getState() |
protected boolean |
isConnected()
Check if connected.
|
protected org.jboss.remoting3.Channel |
openChannel(org.jboss.remoting3.Connection connection,
String serviceType,
org.xnio.OptionMap options)
Open a channel.
|
protected boolean |
prepareClose()
Signal that we are about to close the channel.
|
protected boolean |
setChannel(org.jboss.remoting3.Channel newChannel)
Set the channel.
|
create, create, createclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectionOpenedpublic org.jboss.remoting3.Channel getChannel()
throws IOException
ManagementClientChannelStrategygetChannel in class ManagementClientChannelStrategyIOExceptionprotected static IOException channelClosed()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic FutureManagementChannel.State getState()
protected boolean isConnected()
true if the connection is open, false otherwiseprotected org.jboss.remoting3.Channel awaitChannel()
throws IOException
IOException - for any errorprotected boolean prepareClose()
protected org.jboss.remoting3.Channel openChannel(org.jboss.remoting3.Connection connection,
String serviceType,
org.xnio.OptionMap options)
throws IOException
connection - the connectionserviceType - the service typeoptions - the channel optionsIOExceptionprotected boolean setChannel(org.jboss.remoting3.Channel newChannel)
newChannel - the channelCopyright © 2014 JBoss by Red Hat. All rights reserved.