Yate
Public Member Functions | Protected Member Functions

ISDNQ921Passive Class Reference

Stateless pasive ISDN Q.921 implementation on top of a hardware interface. More...

#include <yatesig.h>

Inheritance diagram for ISDNQ921Passive:
ISDNLayer2 SignallingReceiver SignallingDumpable SignallingComponent SignallingComponent RefObject DebugEnabler RefObject DebugEnabler GenObject GenObject

List of all members.

Public Member Functions

 ISDNQ921Passive (const NamedList &params, const char *name=0)
virtual ~ISDNQ921Passive ()
virtual void cleanup ()
virtual bool initialize (const NamedList *config)
void setDebug (bool printFrames, bool extendedDebug)

Protected Member Functions

virtual void destroyed ()
virtual void timerTick (const Time &when)
virtual bool receivedPacket (const DataBlock &packet)
virtual bool notify (SignallingInterface::Notification event)

Detailed Description

Stateless pasive ISDN Q.921 implementation on top of a hardware interface.

Q.921 ISDN Layer 2 pasive (stateless) implementation on top of a hardware HDLC interface


Constructor & Destructor Documentation

ISDNQ921Passive ( const NamedList params,
const char *  name = 0 
)

Constructor Initialize this object and the component

Parameters:
paramsLayer's and TelEngine::ISDNLayer2 parameters
nameName of this component
virtual ~ISDNQ921Passive ( ) [virtual]

Destructor


Member Function Documentation

virtual void cleanup ( ) [virtual]

Emergency release Reset all data. Set state to 'Released' This method is thread safe

Implements ISDNLayer2.

virtual void destroyed ( ) [inline, protected, virtual]
virtual bool initialize ( const NamedList config) [virtual]

Configure and initialize the passive Q.921 and its interface

Parameters:
configOptional configuration parameters override
Returns:
True if Q.921 and the interface were initialized properly

Reimplemented from SignallingComponent.

virtual bool notify ( SignallingInterface::Notification  event) [protected, virtual]

Process a notification generated by the attached interface This method is thread safe

Parameters:
eventNotification event reported by the interface
Returns:
True if notification was processed

Reimplemented from SignallingReceiver.

virtual bool receivedPacket ( const DataBlock packet) [protected, virtual]

Process a packet received by the receiver's interface This method is thread safe

Parameters:
packetThe received packet
Returns:
True if message was successfully processed

Implements SignallingReceiver.

void setDebug ( bool  printFrames,
bool  extendedDebug 
) [inline]

Set debug data of this layer

Parameters:
printFramesEnable/disable frame printing on output
extendedDebugEnable/disable hex data dump if print frames is enabled
virtual void timerTick ( const Time when) [protected, virtual]

Method called periodically to check timeouts This method is thread safe

Parameters:
whenTime to use as computing base for events and timeouts

Reimplemented from SignallingComponent.


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