#include <transports.h>
Inheritance diagram for H323TransportTCP:
Public Member Functions | |
H323TransportTCP (H323EndPoint &endpoint, PIPSocket::Address binding=INADDR_ANY, BOOL listen=FALSE) | |
~H323TransportTCP () | |
virtual BOOL | SetRemoteAddress (const H323TransportAddress &address) |
virtual BOOL | Connect () |
virtual BOOL | Close () |
BOOL | ReadPDU (PBYTEArray &pdu) |
BOOL | WritePDU (const PBYTEArray &pdu) |
virtual H323Transport * | CreateControlChannel (H323Connection &connection) |
virtual BOOL | AcceptControlChannel (H323Connection &connection) |
BOOL | IsListening () const |
Protected Member Functions | |
virtual BOOL | OnOpen () |
Protected Attributes | |
PTCPSocket * | h245listener |
|
Create a new transport channel.
|
|
Destroy transport channel. |
|
Finish the opening of a control channel. This waits for the connect backfrom the remote endpoint, completing the control channel open sequence. Reimplemented from H323Transport. |
|
Close the channel. Reimplemented from H323Transport. |
|
Connect to the remote party. Implements H323Transport. |
|
Begin the opening of a control channel. This sets up the channel so that the remote endpoint can connect back to this endpoint. Reimplemented from H323Transport. |
|
Indicate we are waiting from remote to connect back to us. |
|
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 TRUE.
|
|
Read a protocol data unit from the transport. This will read using the transports mechanism for PDU boundaries, for example UDP is a single Read() call, while for TCP there is a TPKT header that indicates the size of the PDU.
Implements H323Transport. |
|
Set default remote address to connect to. Note that this does not necessarily initiate a transport level connection, but only indicates where to connect to. The actual connection is made by the Connect() function. Implements H323Transport. |
|
Write a protocol data unit from the transport. This will write using the transports mechanism for PDU boundaries, for example UDP is a single Write() call, while for TCP there is a TPKT header that indicates the size of the PDU.
Implements H323Transport. |
|
|