1/*
2 * Python bindings.
3 *
4 * Open Phone Abstraction Library (OPAL)
5 *
6 * Copyright (c) 2011 Demetrius Cassidy
7 *
8 * The contents of this file are subject to the Mozilla Public License
9 * Version 1.0 (the "License"); you may not use this file except in
10 * compliance with the License. You may obtain a copy of the License at
11 * http://www.mozilla.org/MPL/
12 *
13 * Software distributed under the License is distributed on an "AS IS"
14 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15 * the License for the specific language governing rights and limitations
16 * under the License.
17 *
18 * The Original Code is Open Phone Abstraction Library (OPAL)
19 *
20 * The Initial Developer of the Original Code is Demetrius Cassidy
21 *
22 * Contributor(s): ______________________________________.
23 *
24 * $Revision: 26142 $
25 * $Author: rjongbloed $
26 * $Date: 2011-07-10 02:19:55 -0500 (Sun, 10 Jul 2011) $
27 */
28
29%ModuleHeaderCode
30#include <ptlib.h>
31#include <opal/transports.h>
32#include <h323/transaddr.h>
33%End
34
35typedef OpalListener H323Listener;
36typedef PList<OpalListenerTCP> H323ListenerList;
37typedef OpalTransport H323Transport;
38typedef OpalTransportUDP H323TransportUDP;
39
40
41///////////////////////////////////////////////////////////////////////////////
42
43/**Transport address for H.323.
44   This adds functions to the basic OpalTransportAddress for conversions to
45   and from H.225 and H.245 PDU structures.
46 */
47class H323TransportAddress : OpalTransportAddress
48{
49  public:
50    H323TransportAddress();
51    H323TransportAddress(const char * addr, WORD port = 0, const char * proto = NULL);
52    H323TransportAddress(const PString & addr, WORD port = 0, const char * proto = NULL);
53    H323TransportAddress(const OpalTransportAddress & addr);
54    H323TransportAddress(PIPSocket::Address ip, WORD port, const char * proto = NULL);
55};
56
57
58