Yate
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
SIGAdaptUser Class Reference

Abstract SIGTRAN Adaptation user. More...

#include <yatesig.h>

Inheritance diagram for SIGAdaptUser:
ISDNIUA SS7M2UA SS7M3UA SS7SUA

List of all members.

Public Member Functions

virtual ~SIGAdaptUser ()

Protected Member Functions

 SIGAdaptUser ()
SIGAdaptClientadaptation () const
SIGTransporttransport () const
void adaptation (SIGAdaptClient *adapt)
virtual void activeChange (bool active)=0
bool activate ()
bool aspUp () const
bool aspActive () const

Protected Attributes

bool m_autostart

Friends

class SIGAdaptClient

Detailed Description

Abstract SIGTRAN Adaptation user.

An interface to a Signalling Transport Adaptation user


Constructor & Destructor Documentation

virtual ~SIGAdaptUser ( ) [virtual]

Destructor

SIGAdaptUser ( ) [inline, protected]

Default constructor


Member Function Documentation

bool activate ( ) [inline, protected]

Request activation of the ASP

Returns:
True if ASP activation started, false on failure
virtual void activeChange ( bool  active) [protected, pure virtual]

Traffic activity state change notification

Parameters:
activeTrue if the ASP is active and traffic is allowed

Implemented in ISDNIUA, and SS7M2UA.

SIGAdaptClient* adaptation ( ) const [inline, protected]

Get the User Adaptation to which this component belongs

Returns:
Pointer to the User Adaptation layer
void adaptation ( SIGAdaptClient adapt) [protected]

Set the User Adaptation to which this component belongs

Parameters:
adaptPointer to the new User Adaptation layer
bool aspActive ( ) const [inline, protected]

Check if the ASP is Active

Returns:
True if the ASPTM is in ACTIVE state
bool aspUp ( ) const [inline, protected]

Check if the ASP is Up

Returns:
True if the ASPSM is in UP state
SIGTransport* transport ( ) const [inline, protected]

Get the transport of the user adaptation component

Returns:
Pointer to the transport layer or NULL

Member Data Documentation

bool m_autostart [protected]

Automatically start on init flag


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