activemq-cpp-3.6.0
|
Default implementation of the Decaf ServerSocketFactory, creates ServerSocket objects with supplied options. More...
#include <src/main/decaf/internal/net/DefaultServerSocketFactory.h>
Public Member Functions | |||||||||
DefaultServerSocketFactory () | |||||||||
virtual | ~DefaultServerSocketFactory () | ||||||||
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 | ~ServerSocketFactory () |
Additional Inherited Members | |
![]() | |
static ServerSocketFactory * | getDefault () |
Returns the Default ServerSocket factory, the pointer is owned by the Decaf runtime and should not be deleted by the caller. | |
![]() | |
ServerSocketFactory () |
Default implementation of the Decaf ServerSocketFactory, creates ServerSocket objects with supplied options.
decaf::internal::net::DefaultServerSocketFactory::DefaultServerSocketFactory | ( | ) |
|
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.