Yate
GTT Class Reference

Abstract SS7 SCCP GTT interface. More...

#include <yatesig.h>

Inheritance diagram for GTT:
SignallingComponent RefObject DebugEnabler GenObject

Public Member Functions

 GTT (const NamedList &config)
 
virtual ~GTT ()
 
virtual NamedListrouteGT (const NamedList &gt, const String &prefix, const String &nextPrefix)
 
virtual bool initialize (const NamedList *config)
 
virtual void attach (SCCP *sccp)
 
virtual void updateTables (const NamedList &params)
 
SCCPsccp () const
 
- 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)
 

Protected Member Functions

virtual void destroyed ()
 
- Protected Member Functions inherited from SignallingComponent
 SignallingComponent (const char *name=0, const NamedList *params=0, const char *type="unknown")
 
void insert (SignallingComponent *component)
 
virtual void detach ()
 
virtual void timerTick (const Time &when)
 
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)
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Abstract SS7 SCCP GTT interface.

An interface to a SS7 SCCP Global Title Translation

Constructor & Destructor Documentation

◆ GTT()

GTT ( const NamedList & config)

Constructor

◆ ~GTT()

virtual ~GTT ( )
virtual

Destructor

Member Function Documentation

◆ attach()

virtual void attach ( SCCP * sccp)
virtual

Attach a SCCP to us

Parameters
sccpPointer to the SCCP to use

References sccp().

◆ destroyed()

virtual void destroyed ( )
protectedvirtual

This method is called to clean up and destroy the object after the reference counter becomes zero

Reimplemented from SignallingComponent.

◆ initialize()

virtual bool initialize ( const NamedList * config)
virtual

Initialize this GTT

Reimplemented from SignallingComponent.

◆ routeGT()

virtual NamedList * routeGT ( const NamedList & gt,
const String & prefix,
const String & nextPrefix )
virtual

Route a SCCP message based on Global Title

Parameters
gtThe original global title used for message routing
prefixOptional prefix for gt params
nextPrefixOptional prefix for gt params
Returns
A new SCCP called party address or null if no route was found.

◆ sccp()

SCCP * sccp ( ) const
inline

Retrieve the SCCP attached to this translator

Returns
Pointer to the attached SCCP

Referenced by attach().

◆ updateTables()

virtual void updateTables ( const NamedList & params)
inlinevirtual

Request to update Translations tables. Called when a remote pointcode or ssn has become reachable / unreachable

Parameters
paramsList of parameters that fired this request

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