Interface DiameterGxMessageFactory
-
- All Superinterfaces:
CreditControlMessageFactory
,MessageFactory
public interface DiameterGxMessageFactory extends MessageFactory
Used by applications to create Diameter Gx request messages. Gx answer messages can be created using theorg.jainslee.resources.diameter.gx.GxServerSessionActivity#createGxCreditControlAnswer()
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreditControlAnswer
createGxCreditControlAnswer()
Create a Gx CreditControlAnswer instance.CreditControlRequest
createGxCreditControlRequest()
Create a Gx CreditControlRequest instance, populating it with the internal AVPs not known or needed by the application.CreditControlRequest
createGxCreditControlRequest(String sessionId)
Create a Gx CreditControlRequest instance, populating it with the internal AVPs not known or needed by the application.ReAuthAnswer
createGxReAuthAnswer()
Create an empty ReAuthAnswer DiameterMessage for a RAA command.ReAuthRequest
createGxReAuthRequest()
Create an empty ReAuthRequest DiameterMessage for a RAR command.DiameterMessageFactory
getBaseMessageFactory()
Returns a reference to a message factory that can be used to create AVPs defined by the Diameter Base specification.-
Methods inherited from interface org.jainslee.resources.diameter.cca.CreditControlMessageFactory
createCcaAbortSessionAnswer, createCcaAbortSessionRequest, createCcaReAuthAnswer, createCcaReAuthRequest, createCcMoney, createCcMoney, createCostInformation, createCostInformation, createCreditControlAnswer, createCreditControlRequest, createCreditControlRequest, createFinalUnitIndication, createFinalUnitIndication, createGrantedServiceUnit, createGsuPoolReference, createGsuPoolReference, createMultipleServicesCreditControl, createRedirectServer, createRedirectServer, createRequestedServiceUnit, createServiceParameterInfo, createServiceParameterInfo, createSubscriptionId, createSubscriptionId, createUnitValue, createUnitValue, createUsedServiceUnit, createUserEquipmentInfo, createUserEquipmentInfo, decodeAvp, encodeAvp, isRecognizedAvp
-
Methods inherited from interface org.jainslee.resources.diameter.gx.va10.MessageFactory
createAccessNetworkChargingIdentifierGx, createAccessNetworkChargingIdentifierGx, createAllocationRetentionPriority, createAllocationRetentionPriority, createAreaScope, createChargingInformation, createChargingRuleDefinition, createChargingRuleDefinition, createChargingRuleInstall, createChargingRuleRemove, createChargingRuleReport, createCoaInformation, createCoaInformation, createDefaultEpsBearerQos, createEventReportIndication, createFlowInformation, createFlows, createFlows, createMdtConfiguration, createMdtConfiguration, createPacketFilterInformation, createQosInformation, createRoutingFilter, createRoutingFilter, createRoutingRuleDefinition, createRoutingRuleDefinition, createRoutingRuleInstall, createRoutingRuleRemove, createSupportedFeatures, createSupportedFeatures, createTftPacketFilterInformation, createTraceData, createTraceData, createTunnelInformation, createUsageMonitoringInformation, createUserCsgInformation, createUserCsgInformation
-
-
-
-
Method Detail
-
getBaseMessageFactory
DiameterMessageFactory getBaseMessageFactory()
Returns a reference to a message factory that can be used to create AVPs defined by the Diameter Base specification.- Specified by:
getBaseMessageFactory
in interfaceCreditControlMessageFactory
- Returns:
- base Diameter message factory
-
createGxCreditControlRequest
CreditControlRequest createGxCreditControlRequest()
Create a Gx CreditControlRequest instance, populating it with the internal AVPs not known or needed by the application.- Returns:
- a new CreditControlRequest
-
createGxCreditControlRequest
CreditControlRequest createGxCreditControlRequest(String sessionId)
Create a Gx CreditControlRequest instance, populating it with the internal AVPs not known or needed by the application. Use the session ID provided to find the Diameter session. This should be used when the requests are being made synchronously and there is no GxClientSessionActivity available.- Parameters:
sessionId
- the Session-Id AVP returned in the Answer to a previous sync call- Returns:
- a new CreditControlRequest
- Throws:
IllegalArgumentException
- if sessionId is not a SessionID AVP
-
createGxCreditControlAnswer
CreditControlAnswer createGxCreditControlAnswer()
Create a Gx CreditControlAnswer instance.- Returns:
- a new CreditControlAnswer
-
createGxReAuthRequest
ReAuthRequest createGxReAuthRequest()
Create an empty ReAuthRequest DiameterMessage for a RAR command.- Returns:
- an implementation of DiameterMessage to be passed to
GxServerSessionActivity.sendReAuthRequest(ReAuthRequest)
.
-
createGxReAuthAnswer
ReAuthAnswer createGxReAuthAnswer()
Create an empty ReAuthAnswer DiameterMessage for a RAA command.- Returns:
- an implementation of DiameterMessage to be passed to
GxClientSessionActivity.sendReAuthAnswer(ReAuthAnswer)
.
-
-