|
Yate
|
Stateless pasive ISDN Q.921 implementation on top of a hardware interface. More...
#include <yatesig.h>
Public Member Functions | |
| ISDNQ921Passive (const NamedList ¶ms, 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) |
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
| ISDNQ921Passive | ( | const NamedList & | params, |
| const char * | name = 0 |
||
| ) |
Constructor Initialize this object and the component
| params | Layer's and TelEngine::ISDNLayer2 parameters |
| name | Name of this component |
| virtual ~ISDNQ921Passive | ( | ) | [virtual] |
Destructor
| 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] |
Detach links. Disposes memory
Reimplemented from SignallingComponent.
References SignallingReceiver::attach(), ISDNLayer2::attach(), SignallingComponent::destroyed(), and TelEngine::destruct().
| virtual bool initialize | ( | const NamedList * | config | ) | [virtual] |
Configure and initialize the passive Q.921 and its interface
| config | Optional configuration parameters override |
Reimplemented from SignallingComponent.
| virtual bool notify | ( | SignallingInterface::Notification | event | ) | [protected, virtual] |
Process a notification generated by the attached interface This method is thread safe
| event | Notification event reported by the interface |
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
| packet | The received packet |
Implements SignallingReceiver.
| void setDebug | ( | bool | printFrames, |
| bool | extendedDebug | ||
| ) | [inline] |
Set debug data of this layer
| printFrames | Enable/disable frame printing on output |
| extendedDebug | Enable/disable hex data dump if print frames is enabled |
Method called periodically to check timeouts This method is thread safe
| when | Time to use as computing base for events and timeouts |
Reimplemented from SignallingComponent.
1.7.6.1