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) |
public static ProtocolChannelClient create(ProtocolChannelClient.Configuration configuration) throws IOException
IOExceptionpublic org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(CallbackHandler handler) throws IOException
IOExceptionpublic org.xnio.IoFuture<org.jboss.remoting3.Connection> connect(CallbackHandler handler, Map<String,String> saslOptions, SSLContext sslContext) throws IOException
IOExceptionpublic org.jboss.remoting3.Connection connectSync(CallbackHandler handler) throws IOException
IOExceptionpublic org.jboss.remoting3.Connection connectSync(CallbackHandler handler, Map<String,String> saslOptions, SSLContext sslContext) throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.