Yate
Public Member Functions
SccpLocalSubsystem Class Reference
Inheritance diagram for SccpLocalSubsystem:
RefObject Mutex GenObject Lockable

List of all members.

Public Member Functions

 SccpLocalSubsystem (unsigned char ssn, u_int64_t coordInterval, u_int64_t istInterval, unsigned char smi=0)
virtual ~SccpLocalSubsystem ()
unsigned char getSSN ()
void setState (SCCPManagement::SccpStates newState)
SCCPManagement::SccpStates getState ()
void startCoord ()
bool ignoreTests ()
void setIgnoreTests (bool ignore)
bool timeout ()
void manageTimeout (SCCPManagement *mgm)
void stopCoordTimer ()
unsigned char getSmi ()
void dump (String &dest)
bool receivedSOG (unsigned char ssn, int pointcode)
void resetTimers ()
void clearBackups ()
void appendBackup (RemoteBackupSubsystem *backup)

Constructor & Destructor Documentation

SccpLocalSubsystem ( unsigned char  ssn,
u_int64_t  coordInterval,
u_int64_t  istInterval,
unsigned char  smi = 0 
)

Constructor

Parameters:
ssnThe subsystem number
coordIntervalThe time interval for coordinate changed timer
istIntervalThe time interval for ignore status test timer
smiSubsystem multiplicity indicator
virtual ~SccpLocalSubsystem ( ) [virtual]

Destructor


Member Function Documentation

void appendBackup ( RemoteBackupSubsystem backup) [inline]

Append new backup subsystem

Parameters:
backupThe backup subsystem to append
void clearBackups ( ) [inline]

Clear remote backup subsystems

void dump ( String dest)

Dump this sccp subsystem status

Parameters:
destDestination string
unsigned char getSmi ( ) [inline]

Obtain the subsystem multiplicity indicator of this subsystem

Returns:
The Subsystem multiplicity indicator
unsigned char getSSN ( ) [inline]

Obtain the subsystem number number of this sccp subsystem

Returns:
The ssn associated with this subsystem
SCCPManagement::SccpStates getState ( ) [inline]

Obtain the state associated with this sccp subsystem

Returns:
The state of this SCCP subsystem
bool ignoreTests ( ) [inline]

Check if this subsystem should ignore SST (Subsystem status test)

void manageTimeout ( SCCPManagement mgm)

Handle coord timer timeout

Parameters:
mgmPointer to sccp management who owns this sccp local subsystem
bool receivedSOG ( unsigned char  ssn,
int  pointcode 
)

Process a subsystem out of service grant message

Parameters:
ssnThe remote ssn
pointcodeThe remote pointcode
Returns:
True if the message was procesed
void resetTimers ( ) [inline]

Helper method used to reset timers

void setIgnoreTests ( bool  ignore)

Inform this subsystem if should ignore subsystem status tests

Parameters:
ignoreTrue to ignore subsystem status tests
void setState ( SCCPManagement::SccpStates  newState) [inline]

Set a new state of this SCCP subsystem

Parameters:
newStateThew new state to set
void startCoord ( ) [inline]

Start coordinate change timer

void stopCoordTimer ( ) [inline]

Stop coordinate change timer

bool timeout ( )

Check if coordinate change timer has timed out

Returns:
True if coordinate change timer has timed out

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