activemq-cpp-3.9.0
|
Default implementation of the SSLServerSocketFactory, this factory throws an Exception from all its create methods to indicate that SSL is not supported, this factory is used when OpenSSL is not enabled in the builds. More...
#include <src/main/decaf/internal/net/ssl/DefaultSSLServerSocketFactory.h>
Public Member Functions | |||||||||
DefaultSSLServerSocketFactory (const std::string &errorMessage) | |||||||||
virtual | ~DefaultSSLServerSocketFactory () | ||||||||
virtual decaf::net::ServerSocket * | createServerSocket () | ||||||||
Create a new ServerSocket that is unbound.The ServerSocket will have been configured with the defaults from the factory.
| |||||||||
virtual decaf::net::ServerSocket * | createServerSocket (int port) | ||||||||
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory.
| |||||||||
virtual decaf::net::ServerSocket * | createServerSocket (int port, int backlog) | ||||||||
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will use the specified connection backlog setting.
| |||||||||
virtual decaf::net::ServerSocket * | createServerSocket (int port, int backlog, const decaf::net::InetAddress *address) | ||||||||
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will bind to the specified interface on the local host, and accept connections only on that interface. If the address parameter is NULL than the ServerSocket will listen on all interfaces.
| |||||||||
virtual std::vector< std::string > | getDefaultCipherSuites () | ||||||||
Returns the list of cipher suites which are enabled by default.Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication (that is, no anonymous cipher suites).
| |||||||||
virtual std::vector< std::string > | getSupportedCipherSuites () | ||||||||
Returns the names of the cipher suites which could be enabled for use on an SSL connection.Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not meet quality of service requirements for those defaults. Such cipher suites are useful in specialized applications.
| |||||||||
![]() | |||||||||
virtual | ~SSLServerSocketFactory () | ||||||||
![]() | |||||||||
virtual | ~ServerSocketFactory () | ||||||||
Additional Inherited Members | |
![]() | |
static ServerSocketFactory * | getDefault () |
Returns the current default SSL ServerSocketFactory, the factory is returned as a pointer however the caller does not own this pointer and should not delete it. More... | |
![]() | |
static ServerSocketFactory * | getDefault () |
Returns the Default ServerSocket factory, the pointer is owned by the Decaf runtime and should not be deleted by the caller. More... | |
![]() | |
SSLServerSocketFactory () | |
![]() | |
ServerSocketFactory () | |
Default implementation of the SSLServerSocketFactory, this factory throws an Exception from all its create methods to indicate that SSL is not supported, this factory is used when OpenSSL is not enabled in the builds.
decaf::internal::net::ssl::DefaultSSLServerSocketFactory::DefaultSSLServerSocketFactory | ( | const std::string & | errorMessage | ) |
|
virtual |
|
virtual |
Create a new ServerSocket that is unbound.The ServerSocket will have been configured with the defaults from the factory.
IOException | if the ServerSocket cannot be created for some reason. |
Reimplemented from decaf::net::ServerSocketFactory.
|
virtual |
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory.
port | The port to bind the ServerSocket to. |
IOException | if the ServerSocket cannot be created for some reason. |
Implements decaf::net::ServerSocketFactory.
|
virtual |
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will use the specified connection backlog setting.
port | The port to bind the ServerSocket to. |
backlog | The number of pending connect request the ServerSocket can queue. |
IOException | if the ServerSocket cannot be created for some reason. |
Implements decaf::net::ServerSocketFactory.
|
virtual |
Create a new ServerSocket that is bound to the given port.The ServerSocket will have been configured with the defaults from the factory. The ServerSocket will bind to the specified interface on the local host, and accept connections only on that interface. If the address parameter is NULL than the ServerSocket will listen on all interfaces.
port | The port to bind the ServerSocket to. |
backlog | The number of pending connect request the ServerSocket can queue. |
address | The address of the interface on the local machine to bind to. |
IOException | if the ServerSocket cannot be created for some reason. |
Implements decaf::net::ServerSocketFactory.
|
virtual |
Returns the list of cipher suites which are enabled by default.Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication (that is, no anonymous cipher suites).
Implements decaf::net::ssl::SSLServerSocketFactory.
|
virtual |
Returns the names of the cipher suites which could be enabled for use on an SSL connection.Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not meet quality of service requirements for those defaults. Such cipher suites are useful in specialized applications.
Implements decaf::net::ssl::SSLServerSocketFactory.