public abstract class ManagementClientChannelStrategy extends Object implements Closeable
| Constructor and Description |
|---|
ManagementClientChannelStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static ManagementClientChannelStrategy |
create(org.jboss.remoting3.Channel channel)
Create a new client channel strategy.
|
static ManagementClientChannelStrategy |
create(ProtocolChannelClient setup,
ManagementMessageHandler handler,
CallbackHandler cbHandler,
Map<String,String> saslOptions,
SSLContext sslContext,
org.jboss.remoting3.CloseHandler<org.jboss.remoting3.Channel> closeHandler)
Create a new establishing management client channel-strategy
|
static ManagementClientChannelStrategy |
create(ProtocolConnectionConfiguration configuration,
org.jboss.remoting3.Channel.Receiver receiver,
org.jboss.remoting3.CloseHandler<org.jboss.remoting3.Channel> closeHandler)
Create a new establishing management client channel-strategy
|
abstract org.jboss.remoting3.Channel |
getChannel()
Get the channel.
|
public abstract org.jboss.remoting3.Channel getChannel()
throws IOException
IOExceptionpublic static ManagementClientChannelStrategy create(org.jboss.remoting3.Channel channel)
channel - the existing channelpublic static ManagementClientChannelStrategy create(ProtocolChannelClient setup, ManagementMessageHandler handler, CallbackHandler cbHandler, Map<String,String> saslOptions, SSLContext sslContext, org.jboss.remoting3.CloseHandler<org.jboss.remoting3.Channel> closeHandler)
setup - the remoting setuphandler - the ManagementMessageHandlercbHandler - a callback handlersaslOptions - the sasl optionssslContext - the ssl contextcloseHandler - a close handlerpublic static ManagementClientChannelStrategy create(ProtocolConnectionConfiguration configuration, org.jboss.remoting3.Channel.Receiver receiver, org.jboss.remoting3.CloseHandler<org.jboss.remoting3.Channel> closeHandler)
configuration - the connection configurationreceiver - the channel receivercloseHandler - the close handlerCopyright © 2014 JBoss by Red Hat. All rights reserved.