com.mobius.software.telco.protocols.diameter.commands.t6a.MODataAnswer Maven / Gradle / Ivy
package com.mobius.software.telco.protocols.diameter.commands.t6a;
/*
* Mobius Software LTD
* Copyright 2023, Mobius Software LTD and individual contributors
* by the @authors tag.
*
* This program is free software: you can redistribute it and/or modify
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation; either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see
*/
import java.util.List;
import com.mobius.software.telco.protocols.diameter.ApplicationIDs;
import com.mobius.software.telco.protocols.diameter.CommandCodes;
import com.mobius.software.telco.protocols.diameter.annotations.DiameterCommandDefinition;
import com.mobius.software.telco.protocols.diameter.primitives.accounting.OCOLR;
import com.mobius.software.telco.protocols.diameter.primitives.rfc7683.OCSupportedFeatures;
import com.mobius.software.telco.protocols.diameter.primitives.rfc8583.Load;
/**
*
* @author yulian oifa
*
*/
/*
* 6.2.10 MO-Data-Answer (ODA) Command
The MO-Data-Answer (ODA) command, indicated by the Command-Code field set to 8388733 and the "R" bit cleared in the Command Flags field, is sent from:
- the SCEF to the MME or SGSN;
- the SCEF to the IWK-SCEF and
- the IWK-SCEF to the MME or SGSN.
For the T6a/b, T6ai/bi and T7 interfaces, the MO-Data-Answer command format is specified as following:
Message Format:
< MO-Data-Answer > ::= < Diameter Header: 8388733, PXY, 16777346 >
< Session-Id >
[ DRMP ]
[ Result-Code ]
[ Experimental-Result ]
{ Auth-Session-State }
{ Origin-Host }
{ Origin-Realm }
[ OC-Supported-Features ]
[ OC-OLR ]
*[ Load ]
*[ Supported-Features ]
[ Failed-AVP ]
*[ Proxy-Info ]
*[ Route-Record ]
*[ AVP ]
*/
@DiameterCommandDefinition(applicationId = ApplicationIDs.T6A, commandCode = CommandCodes.MO_DATA, request = false, proxyable = true, name="MO-Data-Answer")
public interface MODataAnswer extends T6aAnswer
{
OCSupportedFeatures getOCSupportedFeatures();
void setOCSupportedFeatures(OCSupportedFeatures value);
OCOLR getOCOLR();
void setOCOLR(OCOLR value);
List getLoad();
void setLoad(List value);
}