class SIGTRAN

Abstract SIGTRAN user adaptation component. More...

Contains pure virtuals
Full nameTelEngine::SIGTRAN
Definition#include <libs/ysig/yatesig.h>
Inherited byISDNIUA, SS7M2PA, SS7M2UA, SS7M3UA, SS7SUA
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Static Methods

Protected Methods


Detailed Description

An interface to a Signalling Transport user adaptation component

enum MsgClass { MGMT = 0, TRAN = 1, SSNM = 2, ASPSM = 3, ASPTM = 4, QPTM = 5, MAUP = 6, CLMSG = 7, COMSG = 8, RKM = 9, IIM = 10, M2PA = 11, }

MsgClass

Message classes

 SIGTRAN ()

SIGTRAN

Constructs an uninitialized signalling transport

 ~SIGTRAN ()

~SIGTRAN

[virtual]

Destructor, terminates transport layer

void  attach (SIGTransport* trans)

attach

[virtual]

Attach a transport (connectivity provider)

Parameters:
transTransport to attach to this component

inline SIGTransport*  transport ()

transport

[const]

Get the transport of this user adaptation component

Returns: Pointer to the transport layer or NULL

bool  connected (int streamId = 0)

connected

[const]

Check if the network transport layer is connected

Parameters:
streamIdIdentifier of the stream to check if applicable

Returns: True if the transport (and stream if applicable) is connected

const TokenDict*  classNames ()

classNames

[static]

Message class names dictionary

Returns: Pointer to dictionary of message classes

bool  processMSG (unsigned char msgVersion, unsigned char msgClass, unsigned char msgType, const DataBlock& msg, int streamId)

processMSG

[protected pure virtual]

Process a complete message

Parameters:
msgVersionVersion of the protocol
msgClassClass of the message
msgTypeType of the message, depends on the class
msgMessage data, may be empty
streamIdIdentifier of the stream the message was received on

Returns: True if the message was handled

bool  transmitMSG (unsigned char msgVersion, unsigned char msgClass, unsigned char msgType, const DataBlock& msg, int streamId = 0)

transmitMSG

[protected const]

Transmit a message to the network transport layer

Parameters:
msgVersionVersion of the protocol
msgClassClass of the message
msgTypeType of the message, depends on the class
msgMessage data, may be empty
streamIdIdentifier of the stream to send the data over

Returns: True if the message was transmitted to network


Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54.