|
|
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:
trans | Transport 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:
streamId | Identifier 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:
msgVersion | Version of the protocol |
msgClass | Class of the message |
msgType | Type of the message, depends on the class |
msg | Message data, may be empty |
streamId | Identifier 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:
msgVersion | Version of the protocol |
msgClass | Class of the message |
msgType | Type of the message, depends on the class |
msg | Message data, may be empty |
streamId | Identifier of the stream to send the data over |
Returns: True if the message was transmitted to network
Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54. |