Class NettyWsTransport

  • All Implemented Interfaces:
    Transport

    public class NettyWsTransport
    extends NettyTcpTransport
    Netty based WebSockets Transport that wraps and extends the TCP Transport.
    • Constructor Detail

      • NettyWsTransport

        public NettyWsTransport​(URI remoteLocation,
                                TransportOptions options,
                                boolean secure)
        Create a new transport instance
        Parameters:
        remoteLocation - the URI that defines the remote resource to connect to.
        options - the transport options used to configure the socket connection.
        secure - should the transport enable an SSL layer.
      • NettyWsTransport

        public NettyWsTransport​(TransportListener listener,
                                URI remoteLocation,
                                TransportOptions options,
                                boolean secure)
        Create a new transport instance
        Parameters:
        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.
        secure - should the transport enable an SSL layer.