OpalTransportTCPS Class Reference

#include <transports.h>

Inheritance diagram for OpalTransportTCPS:
OpalTransportTCP OpalTransportIP OpalTransport

List of all members.

Public Member Functions

 OpalTransportTCPS (OpalEndPoint &endpoint, PIPSocket::Address binding=PIPSocket::GetDefaultIpAny(), WORD port=0, PBoolean reuseAddr=PFalse)
 OpalTransportTCPS (OpalEndPoint &endpoint, PTCPSocket *socket)
 ~OpalTransportTCPS ()
 Destroy the TCPS channel.
PBoolean IsCompatibleTransport (const OpalTransportAddress &address) const
PBoolean Connect ()
PBoolean OnOpen ()
const char * GetProtoPrefix () const

Protected Attributes

PSSLContext * sslContext

Constructor & Destructor Documentation

OpalTransportTCPS::OpalTransportTCPS ( OpalEndPoint endpoint,
PIPSocket::Address  binding = PIPSocket::GetDefaultIpAny(),
WORD  port = 0,
PBoolean  reuseAddr = PFalse 
)
Parameters:
endpoint Endpoint object
binding Local interface to use
port Local port to bind to
reuseAddr Flag for binding to already bound interface
OpalTransportTCPS::OpalTransportTCPS ( OpalEndPoint endpoint,
PTCPSocket *  socket 
)
Parameters:
endpoint Endpoint object
socket Socket to use
OpalTransportTCPS::~OpalTransportTCPS (  ) 

Destroy the TCPS channel.


Member Function Documentation

PBoolean OpalTransportTCPS::Connect (  )  [virtual]

Connect to the remote address.

Reimplemented from OpalTransportTCP.

const char* OpalTransportTCPS::GetProtoPrefix (  )  const [virtual]

Get the prefix for this transports protocol type.

Reimplemented from OpalTransportTCP.

PBoolean OpalTransportTCPS::IsCompatibleTransport ( const OpalTransportAddress address  )  const [virtual]

Check that the transport address is compatible with transport.

Reimplemented from OpalTransportTCP.

PBoolean OpalTransportTCPS::OnOpen (  )  [virtual]

This callback is executed when the Open() function is called with open channels. It may be used by descendent channels to do any handshaking required by the protocol that channel embodies.

The default behaviour is to simply return PTrue.

Returns:
Returns PTrue if the protocol handshaking is successful.

Reimplemented from OpalTransportTCP.


Member Data Documentation

PSSLContext* OpalTransportTCPS::sslContext [protected]

The documentation for this class was generated from the following file:
Generated on Wed Jul 7 10:24:48 2010 for OPAL by  doxygen 1.6.3