|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||
#include "ot/ssl/SSLServerSocketFactory.h"

If no security provider was specified when the OpenTop library was built, there will be no system-provided concrete implementation of this class and calls to GetDefault() will throw an UnsupportedOperationException.
| Method Summary | |
virtual RefPtr< ServerSocket > |
createServerSocket()=0Creates a SSLServerSocket that is not bound to an interface or port number. |
virtual RefPtr< ServerSocket > |
createServerSocket(int port)=0Creates a SSLServerSocket that is bound to a specified port number. |
virtual RefPtr< ServerSocket > |
createServerSocket(int port, int backlog)=0Creates a SSLServerSocket that is bound to a specified port number with a specified queue size. |
virtual RefPtr< ServerSocket > |
createServerSocket(int port, int backlog, InetAddress* pIfAddress)=0Creates a SSLServerSocket that is bound to the port number port and the local network interface pIfAddress. |
static RefPtr< SSLServerSocketFactory > |
GetDefault()Returns the default implementation of the SSLServerSocketFactory class. |
| Methods inherited from class ot::ManagedObject |
addRef(), getRefCount(), onFinalRelease(), operator=(const ManagedObject&), release() |
| Method Detail |
virtual RefPtr< ServerSocket > createServerSocket()=0
Use this method to create a SSLServerSocket when you need to set options that must be set before calling ServerSocket::bind() such as ServerSocket::setReuseAddress() and ServerSocket::setReceiveBufferSize().
SocketException - virtual RefPtr< ServerSocket > createServerSocket(int port)=0
port - SocketException - BindException - virtual RefPtr< ServerSocket > createServerSocket(int port,
int backlog)=0
port - backlog - SocketException - BindException - virtual RefPtr< ServerSocket > createServerSocket(int port,
int backlog,
InetAddress* pIfAddress)=0
port - backlog - pIfAddress - SocketException - BindException - NullPointerException - static RefPtr< SSLServerSocketFactory > GetDefault()
UnsupportedOperationException -
|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||