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

com.mobius.software.telco.protocols.diameter.commands.pc6.ProSeProximityRequest Maven / Gradle / Ivy

There is a newer version: 10.0.0-17-java11
Show newest version
package com.mobius.software.telco.protocols.diameter.commands.pc6;
/*
 * 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 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.exceptions.MissingAvpException;
import com.mobius.software.telco.protocols.diameter.primitives.pc6.LocationUpdateTrigger;
import com.mobius.software.telco.protocols.diameter.primitives.pc6.PRRFlags;

import io.netty.buffer.ByteBuf;

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

/*
 * 	6.2.11	ProSe-Proximity-Request (PRR) Command
	The ProSe-Proximity-Request (PRR) Command, indicated by the Command-Code field set to 8388672 and the "R" bit set in the Command Flags field, is sent from the ProSe Function in the HPLMN to the ProSe Function of another PLMN.
	Message Format

	< ProSe-Proximity-Request > ::=	< Diameter Header: 8388672, REQ, PXY, 16777340 >
			 < Session-Id >
			 [ DRMP ] 
			 [ Vendor-Specific-Application-Id ]
			 { Auth-Session-State }
			 { Origin-Host }
			 { Origin-Realm }
			 [ Destination-Host ]
			 { Destination-Realm }
			*[ Supported-Features ]
			 [ OC-Supported-Features ]
			 { PRR-Flags }
			 { Requesting-EPUID }
			 { Targeted-EPUID }
			 { Time-Window }
			 { Location-Estimate }
			 [ Location-Update-Trigger ]
			*[ AVP ]
			*[ Proxy-Info ]
			*[ Route-Record ]
 */
@DiameterCommandDefinition(applicationId = ApplicationIDs.PC6, commandCode = CommandCodes.PROSE_PROXIMITY, request = true, proxyable = true, name="ProSe-Proximity-Request")
public interface ProSeProximityRequest extends Pc6Request
{
	PRRFlags getPRRFlags();
	
	void setPRRFlags(PRRFlags value) throws MissingAvpException;
	
	String getRequestingEPUID();
	
	void setRequestingEPUID(String value) throws MissingAvpException;
	
	String getTargetedEPUID();
		
	void setTargetedEPUID(String value) throws MissingAvpException;
	
	Long getTimeWindow();
	
	void setTimeWindow(Long value) throws MissingAvpException;
		
	ByteBuf getLocationEstimate();
	
	void setLocationEstimate(ByteBuf value) throws MissingAvpException;
	
	LocationUpdateTrigger getLocationUpdateTrigger();
	
	void setLocationUpdateTrigger(LocationUpdateTrigger value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy