Transport for connecting to a Broker using an SSL Socket. More...
#include <src/main/activemq/transport/tcp/SslTransport.h>

Public Member Functions | |||||||||||||
| SslTransport (const Pointer< Transport > next, const decaf::net::URI &location) | |||||||||||||
| Creates a new instance of the SslTransport, the transport will not attempt to connect to a remote host until the connect method is called. | |||||||||||||
| virtual | ~SslTransport () | ||||||||||||
Protected Member Functions | |||||||||||||
| virtual decaf::net::Socket * | createSocket () | ||||||||||||
Create an unconnected Socket instance to be used by the transport to communicate with the broker.
| |||||||||||||
| virtual void | configureSocket (decaf::net::Socket *socket) | ||||||||||||
Using options from configuration URI, configure the socket options before the Socket instance is connected to the Server.Subclasses can override this option to set more configuration options, they should called the base class version to allow the default set of Socket options to also be configured.
| |||||||||||||
Transport for connecting to a Broker using an SSL Socket.
This transport simply wraps the TcpTransport and provides the TcpTransport an SSL based Socket pointer allowing the core TcpTransport logic to be reused.
| activemq::transport::tcp::SslTransport::SslTransport | ( | const Pointer< Transport > | next, | |
| const decaf::net::URI & | location | |||
| ) |
Creates a new instance of the SslTransport, the transport will not attempt to connect to a remote host until the connect method is called.
| virtual activemq::transport::tcp::SslTransport::~SslTransport | ( | ) | [virtual] |
| virtual void activemq::transport::tcp::SslTransport::configureSocket | ( | decaf::net::Socket * | socket | ) | [protected, virtual] |
Using options from configuration URI, configure the socket options before the Socket instance is connected to the Server.Subclasses can override this option to set more configuration options, they should called the base class version to allow the default set of Socket options to also be configured.
| socket | The Socket instance to configure using options from the given Properties. |
| NullPointerException | if the Socket instance is null. | |
| IllegalArgumentException | if the socket instance is not handled by the class. | |
| SocketException | if there is an error while setting one of the Socket options. |
Reimplemented from activemq::transport::tcp::TcpTransport.
| virtual decaf::net::Socket* activemq::transport::tcp::SslTransport::createSocket | ( | ) | [protected, virtual] |
Create an unconnected Socket instance to be used by the transport to communicate with the broker.
| IOException | if there is an error while creating the unconnected Socket. |
Reimplemented from activemq::transport::tcp::TcpTransport.
1.6.1