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
|
abstract org.jboss.remoting3.Channel |
getChannel()
Get the channel.
|
public abstract org.jboss.remoting3.Channel getChannel() throws IOException
IOException
public 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 ManagementMessageHandler
cbHandler
- a callback handlersaslOptions
- the sasl optionssslContext
- the ssl contextcloseHandler
- a close handlerCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.