Class NIOSSLTransportServer

All Implemented Interfaces:
Runnable, Service, TransportServer, ServiceListener

public class NIOSSLTransportServer extends TcpTransportServer
  • Constructor Details

  • Method Details

    • createTransport

      protected Transport createTransport(Socket socket, WireFormat format) throws IOException
      Description copied from class: TcpTransportServer
      Allow derived classes to override the Transport implementation that this transport server creates.
      Overrides:
      createTransport in class TcpTransportServer
      Returns:
      a new Transport instance.
      Throws:
      IOException
    • isSslServer

      public boolean isSslServer()
      Description copied from interface: TransportServer
      For TransportServers that provide SSL connections to their connected peers they should return true here if and only if they populate the ConnectionInfo command presented to the Broker with the peers certificate chain so that the broker knows it can use that information to authenticate the connected peer.
      Specified by:
      isSslServer in interface TransportServer
      Overrides:
      isSslServer in class TcpTransportServer
      Returns:
      true if this transport server provides SSL level security over its connections.
    • isNeedClientAuth

      public boolean isNeedClientAuth()
    • setNeedClientAuth

      public void setNeedClientAuth(boolean value)
    • isWantClientAuth

      public boolean isWantClientAuth()
    • setWantClientAuth

      public void setWantClientAuth(boolean value)