TCAP_Unidirectional : public TCAP_Dialogue class

Purpose

The purpose of the TCAP_Unidirectional message class is to define the interface for one-way transactions. Unidirectional messages are never replied to. This message represents the TCPPT_TC_UNI dialogue type.

Summary of Methods

The TCAP_Unidirectional message class includes the following methods:

// Xcvr checks

virtual bool SendCheck() const;

virtual bool ReceiveCheck();

 

// Full SCCP Address (orig)

void SetOrigAddr(const bool isNational,

const SKTAL_UINT pointCode,

const SKTAL_OCTET ssn);

void SetOrigAddr(const SCCP_Adddress& addr);

void GetOrigAddr(bool& isNational,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn) const;

void GetOrigAddr(SCCP_Address& addr) const;

// Full SCCP Address (des)

void SetDestAddr(const bool isNational,

const SKTAL_UINT pointCode,

const SKTAL_OCTET ssn);

void GetDestAddr(SCCP_Address& addr) const;

SendCheck()

Syntax

See class TCAP_Dialogue

virtual bool SendCheck() const;

ReceiveCheck()

Syntax

See class TCAP_Dialogue

virtual bool ReceiveCheck();

SetOrigAddr()

Description

This method sets the origination address for this dialogue primitive from discrete information.

Syntax

void SetOrigAddr(const bool isNational,

const SKTAL_UINT pointCode,

const SKTAL_OCTET ssn);

 

void SetOrigAddr(SKTAL_OCTET& addrInd,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn,

SKTAL_OCTET* gttInfo,

SKTAL_USHORT* gttLen) const;

 

void SetOrigAddr(const SCCP_Address& addr);

Input Parameters

isNational: A Boolean flag indicating if this address uses national or international routing

pointCode: The Point Code of this address

ssn: The Subsystem Number of this address

gttInfo: The information of the address

gttLen: The length of the address

(SCCP_ADDR&) addr: The SCCP_ADDR structure to copy into

(SCCP_Address&) addr: The SCCP_Address object to copy into

Input/Output Parameters and Output Parameters

None

Return Value

None

GetOrigAddr()

Description

This method decodes the origination address for this dialogue primitive into discrete information.

Syntax

void GetOrigAddr(bool& isNational,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn) const;

void GetOrigAddr(SKTAL_OCTET& addrInd,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn,

SKTAL_OCTET* gttInfo,

SKTAL_USHORT* gttLen) const;

 

void GetOrigAddr(SCCP_Address& addr) const;

Input Parameters and Input/Output Parameters

None

Output Parameters

isNational: a Boolean flag indicating if this address uses national or international routing

pointCode: the Point Code of this address

ssn: the Subsystem Number of this address

gttInfo: the information of the address

gttLen: the length of the address

(SCCP_ADDR&) addr: the SCCP_ADDR structure to copy into

(SCCP_Address&) addr: the SCCP_Address object to copy into

Return Value

None

SetDestAddr()

Description

This method sets the destination address for this dialogue primitive from discrete information

Syntax

void SetDestAddr(const bool isNational,

const SKTAL_UINT pointCode,

const SKTAL_OCTET ssn);

void SetDestAddr(SKTAL_OCTET addrInd,

SKTAL_UINT pointCode,

SKTAL_OCTT ssn,

SKTAL_OCTET* gttInfo,

SKTAL_USHORT* gttLen) const;

 

void SetDestAddr(const SCCP_Address& addr);

Input Parameters

isNational: a Boolean flag indicating if this address uses national or international routing

pointCode: the Point Code of this address

ssn: the Subsystem Number of this address

gttInfo: the information of the address

gttLen: the length of the address

(SCCP_ADDR&) addr: the SCCP_ADDR structure to copy into

(SCCP_Address&) addr: the SCCP_Address object to copy into

Input/Output Parameters and Output Parameters

None

Return Value

None

GetDestAddr()

Description

This method decodes the destination address for this dialogue primitive into discrete information.

Syntax

void GetDestAddr(bool& isNational,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn) const;

 

void GetDestAddr(SKTAL_OCTET& addrInd,

SKTAL_UINT& pointCode,

SKTAL_OCTET& ssn,

SKTAL_OCTET* gttInfo,

SKTAL_USHORT* gttLen) const;

 

void GetDestAddr(SCCP_Address& addr) const;

Input Parameters and Input/Output Parameters

None

Output Parameters

isNational: a Boolean flag indicating if this address uses national or international routing

pointCode: the Point Code of this address

ssn: the Subsystem Number of this address

gttInfo: the information of the address

gttLen: the length of the address

(SCCP_ADDR&) addr: the SCCP_ADDR structure to copy into

(SCCP_Address&) addr: the SCCP_Address object to copy into

Return Value

None