H323TransportIP Class Reference

#include <transports.h>

Inheritance diagram for H323TransportIP:

H323Transport H323TransportTCP H323TransportUDP List of all members.

Public Member Functions

 H323TransportIP (H323EndPoint &endpoint, PIPSocket::Address binding, WORD remPort)
virtual H323TransportAddress GetLocalAddress () const
virtual H323TransportAddress GetRemoteAddress () const
virtual BOOL IsCompatibleTransport (const H225_TransportAddress &pdu) const
virtual void SetUpTransportPDU (H225_TransportAddress &pdu, BOOL localTsap, H323Connection *connection=NULL) const
virtual void SetUpTransportPDU (H245_TransportAddress &pdu, unsigned tsap) const

Protected Attributes

PIPSocket::Address localAddress
WORD localPort
PIPSocket::Address remoteAddress
WORD remotePort

Detailed Description

This class represents a particular H323 transport using IP. It is used by the TCP and UDP transports.

Definition at line 675 of file transports.h.


Constructor & Destructor Documentation

H323TransportIP::H323TransportIP ( H323EndPoint endpoint,
PIPSocket::Address  binding,
WORD  remPort 
)

Create a new transport channel.

Parameters:
endpoint  H323 End Point object
binding  Local interface to use
remPort  Remote port to use

Definition at line 1527 of file transports.cxx.

References localPort, and remotePort.


Member Function Documentation

H323TransportAddress H323TransportIP::GetLocalAddress (  )  const [virtual]

Get the transport dependent name of the local endpoint.

Implements H323Transport.

Reimplemented in H323TransportUDP.

Definition at line 1537 of file transports.cxx.

References localAddress, and localPort.

Referenced by H323TransportUDP::GetLocalAddress(), and SetUpTransportPDU().

H323TransportAddress H323TransportIP::GetRemoteAddress (  )  const [virtual]

Get the transport dependent name of the remote endpoint.

Implements H323Transport.

Definition at line 1543 of file transports.cxx.

References remoteAddress, and remotePort.

Referenced by H323TransportTCP::CreateControlChannel().

BOOL H323TransportIP::IsCompatibleTransport ( const H225_TransportAddress pdu  )  const [virtual]

Check that the transport address PDU is compatible with transport.

Reimplemented from H323Transport.

Definition at line 1549 of file transports.cxx.

References H225_TransportAddress::e_ip6Address, and H225_TransportAddress::e_ipAddress.

void H323TransportIP::SetUpTransportPDU ( H225_TransportAddress pdu,
BOOL  localTsap,
H323Connection connection = NULL 
) const [virtual]

Set up a transport address PDU for RAS channel.

Reimplemented from H323Transport.

Definition at line 1559 of file transports.cxx.

References H323Transport::endpoint, H323TransportAddress::GetIpAddress(), GetLocalAddress(), H323EndPoint::InternalTranslateTCPAddress(), localPort, remoteAddress, remotePort, H323TransportAddress::SetPDU(), and H323EndPoint::TranslateTCPPort().

Referenced by H323TransportUDP::DiscoverGatekeeper().

void H323TransportIP::SetUpTransportPDU ( H245_TransportAddress pdu,
unsigned  tsap 
) const [virtual]

Set up a transport address PDU for logical channel.

Reimplemented from H323Transport.

Definition at line 1578 of file transports.cxx.

References H323Transport::endpoint, H323EndPoint::InternalTranslateTCPAddress(), localAddress, localPort, remoteAddress, remotePort, H323TransportAddress::SetPDU(), H323Transport::UseLocalTSAP, and H323Transport::UseRemoteTSAP.


The documentation for this class was generated from the following files:
Generated on Thu Oct 25 13:45:33 2007 for h323plus by  doxygen 1.5.2