Yate
SccpSubsystem Class Reference
Inheritance diagram for SccpSubsystem:
RefObject GenObject

Public Member Functions

 SccpSubsystem (int ssn, SCCPManagement::SccpStates state=SCCPManagement::Allowed, unsigned char smi=0)
 
unsigned char getSSN ()
 
SCCPManagement::SccpStates getState ()
 
void setState (SCCPManagement::SccpStates state)
 
unsigned char getSmi ()
 
void dump (String &dest)
 
- Public Member Functions inherited from RefObject
 RefObject ()
 
virtual ~RefObject ()
 
virtual void * getObject (const String &name) const
 
virtual bool alive () const
 
bool ref ()
 
bool deref ()
 
int refcount () const
 
virtual void destruct ()
 
- Public Member Functions inherited from GenObject
 GenObject ()
 
virtual ~GenObject ()
 
virtual const StringtoString () const
 
virtual const StringtraceId () const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 

Additional Inherited Members

- Static Public Member Functions inherited from RefObject
static bool alive (const RefObject *obj)
 
static bool efficientIncDec ()
 
- Static Public Member Functions inherited from GenObject
static void * getObject (const String &name, const GenObject *obj)
 
static bool getObjCounting ()
 
static void setObjCounting (bool enable)
 
static NamedCountergetObjCounter (const String &name, bool create=true)
 
static ObjListgetObjCounters ()
 
- Protected Member Functions inherited from RefObject
virtual void zeroRefs ()
 
bool resurrect ()
 
virtual void destroyed ()
 

Constructor & Destructor Documentation

◆ SccpSubsystem()

SccpSubsystem ( int ssn,
SCCPManagement::SccpStates state = SCCPManagement::Allowed,
unsigned char smi = 0 )
inline

Constructor

Parameters
ssnThe subsystem number alocated to this subsystem
stateThe subsystem initial state
smiThe subsystem multiplicity indicator

Member Function Documentation

◆ dump()

void dump ( String & dest)
inline

Dump this sccp subsystem status

Parameters
destDestination string

References SCCPManagement::stateName().

◆ getSmi()

unsigned char getSmi ( )
inline

Obtain the subsystem multiplicity indicator of this sccp subsystem

Returns
The subsystem multiplicity indicator

◆ getSSN()

unsigned char getSSN ( )
inline

Obtain subsystem number

Returns
The subsystem number

◆ getState()

SCCPManagement::SccpStates getState ( )
inline

Obtain the state of this subsystem

Returns
This subsystem state

◆ setState()

void setState ( SCCPManagement::SccpStates state)
inline

Set the state of this subsystem

Parameters
stateThe new state

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