All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mobius.software.telco.protocols.diameter.primitives.s6t.CommunicationPatternSet Maven / Gradle / Ivy

There is a newer version: 10.0.0-17-java11
Show newest version
package com.mobius.software.telco.protocols.diameter.primitives.s6t;
/*
 * 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.Date;
import java.util.List;

import com.mobius.software.telco.protocols.diameter.TgppAvpCodes;
import com.mobius.software.telco.protocols.diameter.VendorIDs;
import com.mobius.software.telco.protocols.diameter.annotations.DiameterAvpDefinition;
import com.mobius.software.telco.protocols.diameter.primitives.DiameterGroupedAvp;

/**
*
* @author yulian oifa
*
*/

/*
 * 	8.4.26	Communication-Pattern-Set
	The Communication-Pattern-Set AVP is of type Grouped, and it shall contain a set of Communication-Pattern.
	AVP format

	Communication-Pattern-Set ::= 
			 [ Periodic-Communication-Indicator ]
			 [ Communication-Duration-Time ]
			 [ Periodic-Time ]
			*[ Scheduled-Communication-Time ]
			 [ Stationary-Indication ]
			 [ Reference-ID-Validity-Time ]
			 [ Traffic-Profile ]
			 [ Battery-Indicator ]
			*[ AVP ]

	Communication-duration-time and Periodic-Time shall be only provided when the Periodic-Communication-Indicator is set to PERIODICALLY.
	If the Reference-ID-Validity-Time AVP is absent, it indicates that there is no expiration time defined for the Communication-Pattern-Set.
 */
@DiameterAvpDefinition(code = TgppAvpCodes.COMMUNICATION_PATTERN_SET, vendorId = VendorIDs.TGPP_ID, name = "Communication-Pattern-Set")
public interface CommunicationPatternSet extends DiameterGroupedAvp
{
	PeriodicCommunicationIndicatorEnum getPeriodicCommunicationIndicator();
	
	void setPeriodicCommunicationIndicator(PeriodicCommunicationIndicatorEnum value);
	
	Long getCommunicationDurationTime();
	
	void setCommunicationDurationTime(Long value);
	
	Long getPeriodicTime();
	
	void setPeriodicTime(Long value);	
	
	List getScheduledCommunicationTime();
	
	void setScheduledCommunicationTime(List value);
	
	StationaryIndicationEnum getStationaryIndication();
	
	void setStationaryIndication(StationaryIndicationEnum value);
	
	Date getReferenceIDValidityTime();
	
	void setReferenceIDValidityTime(Date value);
	
	TrafficProfileEnum getTrafficProfile();
	
	void setTrafficProfile(TrafficProfileEnum value);
	
	Long getBatteryIndicator();
	
	void setBatteryIndicator(Long value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy