Commit 1ccd33da authored by rennoch's avatar rennoch
Browse files

add missing functions for Diameter msg send/receive

parent 23c5a2c2
Loading
Loading
Loading
Loading
+71 −5
Original line number Diff line number Diff line
@@ -111,7 +111,41 @@ group AwaitingMessage {
        //store specific parameter for DPA if needed
    }
        
	//TODO define await functions for other messages
    function f_awaiting_AAR(template (present)AAR_MSG p_AAR) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({aAR_MSG:=p_AAR});
        //store specific parameter for AAR if needed
    }
    
    function f_awaiting_AAA(template (present)AAA_MSG p_AAA) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({aAA_MSG:=p_AAA});
        //store specific parameter for AAA if needed
    }
    
    function f_awaiting_STR(template (present)STR_MSG p_STR) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({sTR_MSG:=p_STR});
        //store specific parameter for STR if needed
    }
    
    function f_awaiting_STA(template (present)STA_MSG p_STA) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({sTA_MSG:=p_STA});
        //store specific parameter for STA if needed
    }
    
    function f_awaiting_ASR(template (present)ASR_MSG p_ASR) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({aSR_MSG:=p_ASR});
        //store specific parameter for ASR if needed
    }
    
    function f_awaiting_ASA(template (present)ASA_MSG p_ASA) runs on DiameterComponent
    {
        f_awaitingDiameterMsg({aSA_MSG:=p_ASA});
        //store specific parameter for ASA if needed
    }
	
} // end AwaitingMessage

@@ -178,9 +212,41 @@ group SendMessage {
        f_sendDiameterMsg({dPA_MSG:=p_DPA});
    }
    
    function f_send_AAR(template AAR_MSG p_AAR) runs on DiameterComponent
    {
        //set specific parameter for AAR if needed
        f_sendDiameterMsg({aAR_MSG:=p_AAR});
    }

    function f_send_AAA(template AAA_MSG p_AAA) runs on DiameterComponent
    {
        //set specific parameter for AAA if needed
        f_sendDiameterMsg({aAA_MSG:=p_AAA});
    }
    
    function f_send_STR(template STR_MSG p_STR) runs on DiameterComponent
    {
        //set specific parameter for STR if needed
        f_sendDiameterMsg({sTR_MSG:=p_STR});
    }
    
    function f_send_STA(template STA_MSG p_STA) runs on DiameterComponent
    {
        //set specific parameter for STA if needed
        f_sendDiameterMsg({sTA_MSG:=p_STA});
    }
    
	//TODO define send functions for other messages
    function f_send_ASR(template ASR_MSG p_ASR) runs on DiameterComponent
    {
        //set specific parameter for ASR if needed
        f_sendDiameterMsg({aSR_MSG:=p_ASR});
    }
    
    function f_send_ASA(template ASA_MSG p_ASA) runs on DiameterComponent
    {
        //set specific parameter for ASA if needed
        f_sendDiameterMsg({aSA_MSG:=p_ASA});
    }	

} // end SendMessage

+1 −2
Original line number Diff line number Diff line
@@ -2124,9 +2124,8 @@ group BasicTypesAndConstants{
            	    CCR_MSG	cCR_MSG,
            	    CCA_MSG	cCA_MSG,
            	    //Rx interface
            	    /*AAR_MSG	aAR_MSG,
            	    AAR_MSG	aAR_MSG,
            	    AAA_MSG	aAA_MSG,
            	    */
                    UNKNOWN_MSG	uNKNOWN_MSG  
            	}