You are here: SwitchKit TCAP Interface User’s Guide > 3 SKIM Parameter Classes > SKIM_Trans Class
The SKIM_Trans class provides an interface to the SKIM user for populating and retrieving TCAP dialogue and components (operations). The SKIM user can populate or retrieve a single TCAP dialogue and list of associated TCAP components (operations) using a single SKIM_Trans object instance. SKIM_Trans object supports the public methods that are explained in the following sections.
Important! Users are expected to know what methods from the SKIM_Trans public interface need to be invoked for a given transaction type. If you invoke a set method for an invalid transaction type, set method returns without changing underlying interface data.
The following lists the methods available with the SKIM_Trans class.
Class SKIM_Trans
{
public:
SKIM_Trans();
void SetTransType(SKIM_OCTET type);
void GetTransType(SKIM_OCTET &type);
SKIM_UINT GetCallReferenceId();
void SetCallReferenceId(SKIM_UINT id);
void AddOperation(SKIM_Operation &op);
int RemoveOperation(SKIM_Operation &op);
int GetNumOfOperation();
void SetSourceAddress(SKIM_CallingPartyAddr &addr);
void GetSourceAddress(SKIM_CallingPartyAddr &addr);
void SetDestAddress(SKIM_CalledPartyAddr &addr);
void GetDestAddress(SKIM_CalledPartyAddr &addr);
void GetAbortReason(SKIM_OCTET &reason);
void SetAbortReason(SKIM_OCTET reason);
void GetAbortInfo(SKIM_OCTET *buf, int &len);
void SetAbortInfo(SKIM_OCTET *buf, int len);
void
SetQualityOfService(const SKIM_OCTET flags,
const SKIM_OCTET priority = 0);
void
GetQualityOfService(SKIM_OCTET& flags,
SKIM_OCTET& priority);
void SetPreArrangedEnd();
SKIM_OCTET GetReportCause () const;
void GetApplicationContext(SKIM_OCTET* buf, int& len) const;
void SetApplicationContext(const SKIM_OCTET* buf, const int len);
void SetUserInfo(const SKIM_OCTET* buf, const int len);
void GetUserInfo(SKIM_OCTET* buf, int& len) const;
};