Yate
|
SS7 TCAP component implementation. More...
#include <yatesig.h>
Public Types | |
enum | TCAPComponentState { Idle, OperationPending, OperationSent, WaitForReject } |
Public Member Functions | |
SS7TCAPComponent (SS7TCAP::TCAPType type, SS7TCAPTransaction *trans, NamedList ¶ms, unsigned int index) | |
virtual | ~SS7TCAPComponent () |
virtual void | update (NamedList ¶ms, unsigned int index) |
virtual void | fill (unsigned int index, NamedList &fillIn) |
void | setTransaction (SS7TCAPTransaction *transact) |
SS7TCAPTransaction * | transaction () |
void | setType (SS7TCAP::TCAPUserCompActions type) |
SS7TCAP::TCAPUserCompActions | type () |
virtual void | setInvokeID (String invokeID) |
virtual const String & | toString () const |
virtual const String & | correlationID () const |
bool | timedOut () |
void | setState (TCAPComponentState state) |
TCAPComponentState | state () |
void | resetTimer (NamedList ¶ms, unsigned int index) |
SS7TCAP::TCAPComponentOperationClass | operationClass () |
Static Public Member Functions | |
static SS7TCAPComponent * | componentFromNamedList (SS7TCAP::TCAPType type, SS7TCAPTransaction *tr, NamedList ¶ms, unsigned int index) |
Static Public Attributes | |
static const TokenDict | s_compStates [] |
SS7 TCAP component implementation.
Implementation of SS7 Transactional Capabilities Application Part Component
enum TCAPComponentState |
Component state
SS7TCAPComponent | ( | SS7TCAP::TCAPType | type, |
SS7TCAPTransaction * | trans, | ||
NamedList & | params, | ||
unsigned int | index | ||
) |
Constructor
type | TCAP type for which to build this component |
trans | TCAP transaction to which this component belongs to |
params | Parameters for building component |
index | Index in the list of parameters |
virtual ~SS7TCAPComponent | ( | ) | [virtual] |
Destructor
static SS7TCAPComponent* componentFromNamedList | ( | SS7TCAP::TCAPType | type, |
SS7TCAPTransaction * | tr, | ||
NamedList & | params, | ||
unsigned int | index | ||
) | [static] |
Build a TCAP Component from a NamedList
type | TCAP type of component |
tr | The transaction to which this component should belong |
params | Parameters for building the component |
index | Index in the list of parameters |
virtual const String& correlationID | ( | ) | const [inline, virtual] |
SS7TCAP::TCAPComponentOperationClass operationClass | ( | ) | [inline] |
Retrieve operation class for this component
void resetTimer | ( | NamedList & | params, |
unsigned int | index | ||
) |
Reset invocation timer on user request
params | List of parameters |
index | Index of this component's parameters in the list |
virtual void setInvokeID | ( | String | invokeID | ) | [inline, virtual] |
Set the Invoke ID for this component
invokeID | The invoke ID to assign |
void setState | ( | TCAPComponentState | state | ) |
Set component state
state | The state to be set |
void setTransaction | ( | SS7TCAPTransaction * | transact | ) |
Set the transaction to which this component belongs to
transact | TCAP transaction |
void setType | ( | SS7TCAP::TCAPUserCompActions | type | ) | [inline] |
Set the type for this component
type | The type of the component |
TCAPComponentState state | ( | ) | [inline] |
Obtain the component state
bool timedOut | ( | ) | [inline] |
Check if the component has timed out
Returns the transaction to which this component belongs to.
SS7TCAP::TCAPUserCompActions type | ( | ) | [inline] |
Get the type of the component
Update this component's data
params | Update parameters |
index | Index of parameters in the list for the update of this component |
const TokenDict s_compStates[] [static] |
Dictionary for component states