specialprocessor.h
Go to the documentation of this file.
/*
* Inter Asterisk Exchange 2
*
* The entity which receives all manages weirdo iax2 packets that are
* sent outside of a regular call.
*
* Open Phone Abstraction Library (OPAL)
*
* Copyright (c) 2006 Stephen Cook
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Open Phone Abstraction Library.
*
* The Initial Developer of the Original Code is Indranet Technologies Ltd
*
* The author of this code is Stephen Cook
*
* $Revision: 24178 $
* $Author: rjongbloed $
* $Date: 2010-04-05 19:10:56 -0500 (Mon, 05 Apr 2010) $
*/
#ifndef OPAL_IAX2_SPECIALPROCESSOR_H
#define OPAL_IAX2_SPECIALPROCESSOR_H
#ifndef _PTLIB_H
#include <ptlib.h>
#endif
#include <opal/buildopts.h>
#if OPAL_IAX2
#include <opal/connection.h>
#include <iax2/processor.h>
#include <iax2/frame.h>
#include <iax2/iedata.h>
#include <iax2/remote.h>
#include <iax2/safestrings.h>
#include <iax2/sound.h>
class IAX2SpecialProcessor : public IAX2Processor
{
PCLASSINFO(IAX2SpecialProcessor, IAX2Processor);
public:
IAX2SpecialProcessor(IAX2EndPoint & ep);
virtual ~IAX2SpecialProcessor();
protected:
virtual void ProcessLists();
virtual void ProcessFullFrame(IAX2FullFrame & fullFrame);
virtual void ProcessNetworkFrame(IAX2MiniFrame * src);
virtual void PrintOn(ostream & strm) const;
virtual void OnNoResponseTimeout();
virtual PBoolean ProcessNetworkFrame(IAX2FullFrameProtocol * src);
void ProcessIaxCmdPoke(IAX2FullFrameProtocol * src);
virtual PBoolean IncomingMessageOutOfOrder(IAX2FullFrame *)
{ return false; }
};
#endif // OPAL_IAX2
#endif // OPAL_IAX2_SPECIALPROCESSOR_H
sound.h
IAX2EndPoint
Definition: iax2ep.h:104
connection.h
buildopts.h
IAX2SpecialProcessor::ProcessIaxCmdPoke
void ProcessIaxCmdPoke(IAX2FullFrameProtocol *src)
IAX2SpecialProcessor::IAX2SpecialProcessor
IAX2SpecialProcessor(IAX2EndPoint &ep)
IAX2FullFrame
Definition: frame.h:369
IAX2SpecialProcessor
Definition: specialprocessor.h:56
IAX2MiniFrame
Definition: frame.h:307
IAX2SpecialProcessor::ProcessFullFrame
virtual void ProcessFullFrame(IAX2FullFrame &fullFrame)
IAX2SpecialProcessor::IncomingMessageOutOfOrder
virtual PBoolean IncomingMessageOutOfOrder(IAX2FullFrame *)
Definition: specialprocessor.h:96
IAX2FullFrameProtocol
Definition: frame.h:885
frame.h
iedata.h
IAX2SpecialProcessor::PrintOn
virtual void PrintOn(ostream &strm) const
processor.h
IAX2Processor
Definition: processor.h:136
IAX2SpecialProcessor::ProcessLists
virtual void ProcessLists()
IAX2SpecialProcessor::ProcessNetworkFrame
virtual void ProcessNetworkFrame(IAX2MiniFrame *src)
IAX2SpecialProcessor::~IAX2SpecialProcessor
virtual ~IAX2SpecialProcessor()
remote.h
IAX2SpecialProcessor::OnNoResponseTimeout
virtual void OnNoResponseTimeout()
safestrings.h