public class NettySslTransport extends NettyTcpTransport implements SSLTransport
| Constructor and Description |
|---|
NettySslTransport(TransportListener listener,
URI remoteLocation,
TransportOptions options)
Create a new transport instance
|
NettySslTransport(URI remoteLocation,
TransportOptions options)
Create a new transport instance
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureChannel(io.netty.channel.Channel channel) |
Principal |
getLocalPrincipal() |
protected int |
getRemotePort() |
TransportOptions |
getTransportOptions() |
protected void |
handleConnected(io.netty.channel.Channel channel) |
allocateSendBuffer, close, configureNetty, connect, connectionEstablished, connectionFailed, getRemoteHost, getRemoteLocation, getTransportListener, isConnected, send, setTransportListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallocateSendBuffer, close, connect, getRemoteLocation, getTransportListener, isConnected, send, setTransportListenerpublic NettySslTransport(URI remoteLocation, TransportOptions options)
remoteLocation - the URI that defines the remote resource to connect to.options - the transport options used to configure the socket connection.public NettySslTransport(TransportListener listener, URI remoteLocation, TransportOptions options)
listener - the TransportListener that will receive events from this Transport.remoteLocation - the URI that defines the remote resource to connect to.options - the transport options used to configure the socket connection.protected void configureChannel(io.netty.channel.Channel channel)
throws Exception
configureChannel in class NettyTcpTransportExceptionprotected void handleConnected(io.netty.channel.Channel channel)
throws Exception
handleConnected in class NettyTcpTransportExceptionpublic TransportOptions getTransportOptions()
getTransportOptions in interface TransportgetTransportOptions in class NettyTcpTransportprotected int getRemotePort()
getRemotePort in class NettyTcpTransportpublic Principal getLocalPrincipal()
getLocalPrincipal in interface SSLTransportCopyright © 2013–2016 The Apache Software Foundation. All rights reserved.