public class ProtocolChannelClient extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
ProtocolChannelClient.Configuration |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect(CallbackHandler handler) |
org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect(CallbackHandler handler,
Map<String,String> saslOptions,
SSLContext sslContext) |
org.jboss.remoting3.Connection |
connectSync(CallbackHandler handler) |
org.jboss.remoting3.Connection |
connectSync(CallbackHandler handler,
Map<String,String> saslOptions,
SSLContext sslContext) |
static ProtocolChannelClient |
create(ProtocolChannelClient.Configuration configuration) |
ProtocolChannelClient.Configuration |
getConfiguration() |
public static ProtocolChannelClient create(ProtocolChannelClient.Configuration configuration) throws IOException
IOException
public org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(CallbackHandler handler) throws IOException
IOException
public org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(CallbackHandler handler, Map<String,String> saslOptions, SSLContext sslContext) throws IOException
IOException
public org.jboss.remoting3.Connection connectSync(CallbackHandler handler) throws IOException
IOException
public org.jboss.remoting3.Connection connectSync(CallbackHandler handler, Map<String,String> saslOptions, SSLContext sslContext) throws IOException
IOException
public ProtocolChannelClient.Configuration getConfiguration()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023 JBoss by Red Hat. All rights reserved.