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) 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.

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


Member Function Documentation

virtual H323TransportAddress H323TransportIP::GetLocalAddress (  )  const [virtual]

Get the transport dependent name of the local endpoint.

Implements H323Transport.

Reimplemented in H323TransportUDP.

virtual H323TransportAddress H323TransportIP::GetRemoteAddress (  )  const [virtual]

Get the transport dependent name of the remote endpoint.

Implements H323Transport.

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

Check that the transport address PDU is compatible with transport.

Reimplemented from H323Transport.

virtual void H323TransportIP::SetUpTransportPDU ( H225_TransportAddress pdu,
BOOL  localTsap 
) const [virtual]

Set up a transport address PDU for RAS channel.

Reimplemented from H323Transport.

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

Set up a transport address PDU for logical channel.

Reimplemented from H323Transport.


Member Data Documentation

PIPSocket::Address H323TransportIP::localAddress [protected]

WORD H323TransportIP::localPort [protected]

PIPSocket::Address H323TransportIP::remoteAddress [protected]

WORD H323TransportIP::remotePort [protected]


The documentation for this class was generated from the following file:

Generated on Mon Aug 11 09:30:44 2008 for OpenH323 by  doxygen 1.5.6