OPAL  Version 3.18.8
specialprocessor.h
Go to the documentation of this file.
1 /*
2  * Inter Asterisk Exchange 2
3  *
4  * The entity which receives all manages weirdo iax2 packets that are
5  * sent outside of a regular call.
6  *
7  * Open Phone Abstraction Library (OPAL)
8  *
9  * Copyright (c) 2006 Stephen Cook
10  *
11  * The contents of this file are subject to the Mozilla Public License
12  * Version 1.0 (the "License"); you may not use this file except in
13  * compliance with the License. You may obtain a copy of the License at
14  * http://www.mozilla.org/MPL/
15  *
16  * Software distributed under the License is distributed on an "AS IS"
17  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
18  * the License for the specific language governing rights and limitations
19  * under the License.
20  *
21  * The Original Code is Open Phone Abstraction Library.
22  *
23  * The Initial Developer of the Original Code is Indranet Technologies Ltd
24  *
25  * The author of this code is Stephen Cook
26  */
27 
28 #ifndef OPAL_IAX2_SPECIALPROCESSOR_H
29 #define OPAL_IAX2_SPECIALPROCESSOR_H
30 
31 #ifndef _PTLIB_H
32 #include <ptlib.h>
33 #endif
34 
35 #include <opal_config.h>
36 
37 #if OPAL_IAX2
38 
39 #include <opal/connection.h>
40 
41 #include <iax2/processor.h>
42 #include <iax2/frame.h>
43 #include <iax2/iedata.h>
44 #include <iax2/remote.h>
45 #include <iax2/safestrings.h>
46 #include <iax2/sound.h>
47 
53 {
55 
56  public:
59 
61  virtual ~IAX2SpecialProcessor();
62 
63  protected:
65  virtual void ProcessLists();
66 
68  virtual void ProcessFullFrame(IAX2FullFrame & fullFrame);
69 
71  virtual void ProcessNetworkFrame(IAX2MiniFrame * src);
72 
74  virtual void PrintOn(ostream & strm) const;
75 
77  virtual void OnNoResponseTimeout();
78 
81  virtual PBoolean ProcessNetworkFrame(IAX2FullFrameProtocol * src);
82 
85 
93  { return false; }
94 
95 
96 };
97 
98 
99 #endif // OPAL_IAX2
100 
101 #endif // OPAL_IAX2_SPECIALPROCESSOR_H
Definition: iax2ep.h:100
void ProcessIaxCmdPoke(IAX2FullFrameProtocol *src)
IAX2SpecialProcessor(IAX2EndPoint &ep)
Definition: frame.h:365
Definition: specialprocessor.h:52
Definition: frame.h:303
virtual void ProcessFullFrame(IAX2FullFrame &fullFrame)
virtual PBoolean IncomingMessageOutOfOrder(IAX2FullFrame *)
Definition: specialprocessor.h:92
Definition: frame.h:872
virtual void PrintOn(ostream &strm) const
Definition: processor.h:132
virtual void ProcessLists()
virtual void ProcessNetworkFrame(IAX2MiniFrame *src)
virtual ~IAX2SpecialProcessor()
virtual void OnNoResponseTimeout()