class SS7MsgSccpReassemble


Full nameTelEngine::SS7MsgSccpReassemble
Definition#include <libs/ysig/yatesig.h>
InheritsTelEngine::SS7MsgSCCP [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods


Detailed Description

enum Return { Rejected, Accepted, Error, Finished, }

Return

 SS7MsgSccpReassemble (SS7MsgSCCP* msg, const SS7Label& label, unsigned int timeToLive)

SS7MsgSccpReassemble

Constructor

Parameters:
msgThe first message segment
labelThe MTP routing label
timeToLiveThe time internal in milliseconds that we wait to reassemble the message

 ~SS7MsgSccpReassemble ()

~SS7MsgSccpReassemble

[virtual]

Destructor

bool  canProcess (const SS7MsgSCCP* msg, const SS7Label& label)

canProcess

Helper method used to check if the given message is part of this reassembling process

Parameters:
msgThe message to verify
labelThe SS7 routing label

Returns: True if msg is a part of this reassembling process

Return  appendSegment (SS7MsgSCCP* msg, const SS7Label& label)

appendSegment

Append a sccp message segment to the main message

Parameters:
msgThe message segment
labelThe SS7 routing label

Returns: One of the Return enum options

inline bool  timeout ()

timeout

Check if this reassemble process has expired

Returns: True if this reassemble process has expired

inline bool  haveAllSegments ()

haveAllSegments

Helper method to verify if all segments have arrived

Returns: True if all segments arrived


Generated by: paulc on bussard on Thu Jul 24 18:41:02 2014, using kdoc 2.0a54.