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

| Method Summary | |
virtual RefPtr< Socket > |
createSocket()=0Creates an unconnected SSLSocket. |
virtual RefPtr< Socket > |
createSocket(InetAddress* pAddress, int port)=0Creates a Socket and connects it to the specified port on the network host designated by the provided InetAddress. |
virtual RefPtr< Socket > |
createSocket(const String& host, int port)=0Creates a Socket that is connected to a specified host name and port. |
virtual RefPtr< Socket > |
createSocket(Socket* pSocket, const String& host, int port)=0Creates a SSLSocket that wraps an already connected Socket. |
virtual RefPtr< Socket > |
createSocket(InetAddress* pAddress, int port, InetAddress* pLocalAddr, int localPort)=0Creates a Socket and connects it to the specified remote port on the network host designated by the provided InetAddress. |
virtual RefPtr< Socket > |
createSocket(const String& host, int port, InetAddress* pLocalAddr, int localPort)=0Creates a Socket that is connected to a specified host name and port. |
static RefPtr< SSLSocketFactory > |
GetDefault()Returns the default implementation of the SSLSocketFactory class. |
| Methods inherited from class ot::ManagedObject |
addRef(), getRefCount(), onFinalRelease(), operator=(const ManagedObject&), release() |
| Method Detail |
virtual RefPtr< Socket > createSocket()=0
SocketException - UnsupportedOperationException - virtual RefPtr< Socket > createSocket(InetAddress* pAddress,
int port)=0
pAddress - port - SocketException - NullPointerException - UnsupportedOperationException - virtual RefPtr< Socket > createSocket(const String& host,
int port)=0
host - UnknownHostException - SocketException - UnsupportedOperationException - virtual RefPtr< Socket > createSocket(Socket* pSocket,
const String& host,
int port)=0
The host and port parameters are used to specify the logical SSL peer (for authentication) and may not be the same as the host/port to which the underlying socket is connected.
pSocket - host - port - NullPointerException - IllegalArgumentException - UnsupportedOperationException - virtual RefPtr< Socket > createSocket(InetAddress* pAddress,
int port,
InetAddress* pLocalAddr,
int localPort)=0
If pLocalAddr is null, the socket is bound to any interface on the local host. If localPort is 0, the operating system chooses an unused local port number.
pAddress - port - pLocalAddr - localPort - NullPointerException - SocketException - UnsupportedOperationException - virtual RefPtr< Socket > createSocket(const String& host,
int port,
InetAddress* pLocalAddr,
int localPort)=0
The host name is first resolved into an InetAddress before connecting to it.
host - port - pLocalAddr - localPort - UnknownHostException - SocketException - UnsupportedOperationException - static RefPtr< SSLSocketFactory > GetDefault()
UnsupportedOperationException -
|
OpenTop 1.5 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | Cross-Platform C++ | ||||||
| SUMMARY: CONSTRUCTOR | METHOD | DETAIL: CONSTRUCTOR | METHOD | |||||||