#include <yatesig.h>

Public Member Functions | |
| virtual void | multipleFrameEstablished (bool confirm, bool timeout, ISDNLayer2 *layer2) |
| virtual void | multipleFrameReleased (bool confirm, bool timeout, ISDNLayer2 *layer2) |
| virtual void | dataLinkState (bool cmd, bool value, ISDNLayer2 *layer2) |
| virtual void | idleTimeout (ISDNLayer2 *layer2) |
| virtual void | receiveData (const DataBlock &data, bool ack, ISDNLayer2 *layer2)=0 |
| virtual void | attach (ISDNLayer2 *layer2) |
Protected Member Functions | |
| ISDNLayer3 (const char *name=0) | |
An interface to a Layer 3 (Q.931) ISDN message transport
| ISDNLayer3 | ( | const char * | name = 0 |
) | [inline, protected] |
Constructor Initialize the component
| name | Name of this component |
| virtual void attach | ( | ISDNLayer2 * | layer2 | ) | [inline, virtual] |
Attach an ISDN Q.921 Layer 2
| layer2 | Pointer to the Q.921 Layer 2 to attach |
Reimplemented in ISDNQ931.
| virtual void dataLinkState | ( | bool | cmd, | |
| bool | value, | |||
| ISDNLayer2 * | layer2 | |||
| ) | [inline, virtual] |
Notification from layer 2 of data link set/release command or response Used for stateless layer 2
| cmd | True if received a command, false if received a response | |
| value | The value of the notification If 'cmd' is true (command), the value is true if a request to establish data link was received or false if received a request to release data link If 'cmd' is false (response), the value is the response | |
| layer2 | Pointer to the notifier |
Reimplemented in ISDNQ931Monitor.
| virtual void idleTimeout | ( | ISDNLayer2 * | layer2 | ) | [inline, virtual] |
Notification from layer 2 of data link idle timeout Used for stateless layer 2
| layer2 | Pointer to the notifier |
Reimplemented in ISDNQ931Monitor.
| virtual void multipleFrameEstablished | ( | bool | confirm, | |
| bool | timeout, | |||
| ISDNLayer2 * | layer2 | |||
| ) | [inline, virtual] |
Implements Q.921 DL-ESTABLISH indication/confirmation primitive: 'multiple frame acknoledged' mode established
| confirm | True if this is a confirmation of a previous request. False if it is an indication of state change on remote request | |
| timeout | True if the reason is a timeout | |
| layer2 | Pointer to the notifier |
Reimplemented in ISDNQ931.
| virtual void multipleFrameReleased | ( | bool | confirm, | |
| bool | timeout, | |||
| ISDNLayer2 * | layer2 | |||
| ) | [inline, virtual] |
Implements Q.921 DL-RELEASE indication/confirmation primitive: 'multiple frame acknoledged' mode released
| confirm | True if this is a confirmation of a previous request. False if it is an indication of state change on remote request | |
| timeout | True if the reason is a timeout. | |
| layer2 | Pointer to the notifier |
Reimplemented in ISDNQ931.
| virtual void receiveData | ( | const DataBlock & | data, | |
| bool | ack, | |||
| ISDNLayer2 * | layer2 | |||
| ) | [pure virtual] |
Implements Q.921 DL-DATA and DL-UNIT DATA indication primitives Receive data from remote peer
| data | Received data | |
| ack | True if data is an acknoledged frame, false if it is an unacknoledged one | |
| layer2 | Pointer to the sender |
Implemented in ISDNQ931, and ISDNQ931Monitor.
1.5.7.1