Yate
SS7AnsiSccpManagement Class Reference
Inheritance diagram for SS7AnsiSccpManagement:
SCCPManagement SignallingComponent Mutex RefObject DebugEnabler Lockable GenObject

Public Member Functions

 SS7AnsiSccpManagement (const NamedList &params)
 
virtual bool processMessage (SS7MsgSCCP *message)
 
virtual bool sendMessage (SCCPManagement::MsgType msgType, const NamedList &params)
 
virtual void manageSccpRemoteStatus (SccpRemote *rsccp, SS7Route::State newState)
 
virtual void handleSubsystemStatus (SccpSubsystem *subsystem, bool allowed, SccpRemote *remote, int smi)
 
bool handleMessage (int msgType, NamedList &params)
 
- Public Member Functions inherited from SCCPManagement
 SCCPManagement (const NamedList &params, SS7PointCode::Type type)
 
virtual ~SCCPManagement ()
 
virtual bool initialize (const NamedList *config)
 
void attach (SS7SCCP *sccp)
 
virtual void pointcodeStatus (SS7Layer3 *link, bool operational)
 
virtual void routeStatus (SS7PointCode::Type type, const SS7PointCode &node, SS7Route::State state)
 
virtual void notify (SCCP::Type type, NamedList &params)
 
virtual void routeFailure (SS7MsgSCCP *msg)
 
virtual void subsystemFailure (SS7MsgSCCP *msg, const SS7Label &label)
 
virtual void sccpUnavailable (const SS7PointCode &pointcode, unsigned char cause)
 
void subsystemsStatus (String &dest, bool extended=true)
 
void routeStatus (String &dest, bool extended=false)
 
virtual void notifyConcerned (MsgType msg, unsigned char ssn, int smi)
 
virtual void updateTables (SccpRemote *rsccp, SccpSubsystem *ssn=0)
 
virtual void printMessage (String &dest, MsgType type, const NamedList &params)
 
- Public Member Functions inherited from SignallingComponent
virtual ~SignallingComponent ()
 
virtual const StringtoString () const
 
virtual bool control (NamedList &params)
 
virtual NamedListcontrolCreate (const char *oper=0)
 
virtual bool controlExecute (NamedList *params)
 
virtual void engine (SignallingEngine *eng)
 
SignallingEngineengine () const
 
int debugLevel (int level)
 
const StringcomponentType () const
 
- 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 StringtraceId () const
 
NamedCountergetObjCounter () const
 
NamedCountersetObjCounter (NamedCounter *counter)
 
- Public Member Functions inherited from DebugEnabler
 DebugEnabler (int level=TelEngine::debugLevel(), bool enabled=true)
 
int debugLevel () const
 
int debugLevel (int level)
 
bool debugEnabled () const
 
void debugEnabled (bool enable)
 
const char * debugName () const
 
bool debugAt (int level) const
 
bool debugChained () const
 
void debugChain (const DebugEnabler *chain=0)
 
void debugCopy (const DebugEnabler *original=0)
 
- Public Member Functions inherited from Mutex
 Mutex (bool recursive=false, const char *name=0)
 
 Mutex (const Mutex &original)
 
 ~Mutex ()
 
Mutexoperator= (const Mutex &original)
 
virtual bool lock (long maxwait=-1)
 
virtual bool unlock ()
 
virtual bool locked () const
 
const char * owner () const
 
bool recursive () const
 
- Public Member Functions inherited from Lockable
virtual ~Lockable ()
 
virtual bool check (long maxwait=-1)
 
virtual bool unlockAll ()
 

Additional Inherited Members

- Public Types inherited from SCCPManagement
enum  MsgType {
  SSA = 0x01 , SSP = 0x02 , SST = 0x03 , SOR = 0x04 ,
  SOG = 0x05 , SSC = 0x06 , SBR = 0xfd , SNR = 0xfe ,
  SRT = 0xff
}
 
enum  LocalBroadcast {
  UserOutOfService , UserInService , PCInaccessible , PCAccessible ,
  SccpRemoteInaccessible , SccpRemoteAccessible , PCCongested , SubsystemStatus
}
 
enum  SccpStates {
  Allowed = SS7Route::Allowed , Prohibited = SS7Route::Prohibited , Unknown = SS7Route::Unknown , WaitForGrant ,
  IgnoreTests
}
 
- Static Public Member Functions inherited from SCCPManagement
static const TokenDictbroadcastType ()
 
static const char * stateName (SCCPManagement::SccpStates state)
 
- Static Public Member Functions inherited from SignallingComponent
static bool resolveConfig (const String &cmpName, NamedList &params, const NamedList *config)
 
- 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 ()
 
- Static Public Member Functions inherited from Mutex
static int count ()
 
static int locks ()
 
static bool efficientTimedLock ()
 
- Static Public Member Functions inherited from Lockable
static void wait (unsigned long maxwait)
 
static unsigned long wait ()
 
static void startUsingNow ()
 
static void enableSafety (bool safe=true)
 
static bool safety ()
 
- Protected Member Functions inherited from SCCPManagement
virtual void timerTick (const Time &when)
 
SS7SCCPsccp ()
 
u_int32_t getTestTimeout ()
 
bool managementMessage (SCCP::Type type, NamedList &params)
 
SccpLocalSubsystemgetLocalSubsystem (unsigned char ssn)
 
SccpRemotegetRemoteSccp (int pointcode)
 
virtual void stopSst (SccpRemote *remoteSccp, SccpSubsystem *rSubsystem=0, SccpSubsystem *less=0)
 
void stopSSTs ()
 
virtual void startSst (SccpRemote *remoteSccp, SccpSubsystem *rSubsystem)
 
void mtpEndRestart ()
 
void localBroadcast (SCCP::Type type, int pointcode, int sps, int rss=-1, int rl=-1, int ssn=-1, int ss=-1)
 
bool sendSST (SccpRemote *remote, SccpSubsystem *sub)
 
bool handleMessage (int msgType, unsigned char ssn, unsigned char smi, NamedList &params)
 
bool printMessagess ()
 
void handleCoordinateChanged (unsigned char ssn, int smi, const NamedList &params)
 
void handleSog (unsigned char ssn, int pointcode)
 
u_int32_t getCoordTimeout ()
 
u_int32_t getIgnoreTestsInterval ()
 
- Protected Member Functions inherited from SignallingComponent
 SignallingComponent (const char *name=0, const NamedList *params=0, const char *type="unknown")
 
virtual void destroyed ()
 
void insert (SignallingComponent *component)
 
virtual void detach ()
 
void setName (const char *name)
 
void setCompType (const char *type)
 
unsigned long tickSleep (unsigned long usec=1000000) const
 
- Protected Member Functions inherited from RefObject
virtual void zeroRefs ()
 
bool resurrect ()
 
- Protected Member Functions inherited from DebugEnabler
void debugName (const char *name)
 
- Protected Attributes inherited from SCCPManagement
ObjList m_remoteSccp
 
ObjList m_statusTest
 
ObjList m_localSubsystems
 
ObjList m_concerned
 
SS7PointCode::Type m_pcType
 

Constructor & Destructor Documentation

◆ SS7AnsiSccpManagement()

SS7AnsiSccpManagement ( const NamedList & params)
inline

Constructor

References SCCPManagement::SCCPManagement().

Member Function Documentation

◆ handleMessage()

bool handleMessage ( int msgType,
NamedList & params )

Handle a SCCP Management message

Parameters
msgTypeThe message type
paramsList of message parameters
Returns
True if the message was handled

◆ handleSubsystemStatus()

virtual void handleSubsystemStatus ( SccpSubsystem * subsystem,
bool allowed,
SccpRemote * remote,
int smi )
virtual

Process the status of subsystems

Parameters
subsystemThe subsystem who's status has changed
allowedTrue if the subsystem status is Allowed false for Prohibited
remoteThe remote sccp pointcode where the subsystem is located
smiSubsystem Multiplicity Indicator

Reimplemented from SCCPManagement.

◆ manageSccpRemoteStatus()

virtual void manageSccpRemoteStatus ( SccpRemote * rsccp,
SS7Route::State newState )
virtual

Handle notifications received from remote concerned sccp's

Parameters
rsccpRemote SCCP pointcode
newStateThe new state of the remote SCCP

Reimplemented from SCCPManagement.

◆ processMessage()

virtual bool processMessage ( SS7MsgSCCP * message)
virtual

Process a management message received from sccp

Parameters
messageThe message to process
Returns
True if the message was processed successfully

Reimplemented from SCCPManagement.

◆ sendMessage()

virtual bool sendMessage ( SCCPManagement::MsgType msgType,
const NamedList & params )
virtual

Encode a sccp management message and send it to remote address

Parameters
msgTypeThe SCCP management message type
paramsList of message parameters
Returns
True if the message was successfully send

Implements SCCPManagement.


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