public interface DiameterMessageFactory
DiameterAvp
, DiameterMessage
.
An implementation of this class should be returned by the
DiameterProvider.getDiameterMessageFactory()
method.Modifier and Type | Method and Description |
---|---|
AbortSessionAnswer |
createAbortSessionAnswer()
Create an empty AbortSessionAnswer DiameterMessage for a ASA command.
|
AbortSessionAnswer |
createAbortSessionAnswer(DiameterAvp[] avps)
Create a AbortSessionAnswer DiameterMessage for a ASA command containing the given AVPs.
|
AbortSessionRequest |
createAbortSessionRequest()
Create an empty AbortSessionRequest DiameterMessage for a ASR command.
|
AbortSessionRequest |
createAbortSessionRequest(DiameterAvp[] avps)
Create a AbortSessionRequest DiameterMessage for a ASR command containing the given AVPs.
|
AccountingAnswer |
createAccountingAnswer()
Create an empty AccountingAnswer DiameterMessage for a ACA command.
|
AccountingAnswer |
createAccountingAnswer(DiameterAvp[] avps)
Create a AccountingAnswer DiameterMessage for a ACA command containing the given AVPs.
|
AccountingRequest |
createAccountingRequest()
Create an empty AccountingRequest DiameterMessage for a ACR command.
|
AccountingRequest |
createAccountingRequest(DiameterAvp[] avps)
Create a AccountingRequest DiameterMessage for a ACR command containing the given AVPs.
|
DiameterAvp |
createAvp(int avpCode,
byte[] value)
Create an AVP containing a DiameterAvpValue from the byte[] value provided.
|
DiameterAvp |
createAvp(int avpCode,
java.util.Date value)
Create an AVP containing a DiameterAvpValue from the java.util.Date value provided.
|
DiameterAvp |
createAvp(int avpCode,
DiameterAvp[] avps)
Create a value for a Grouped AVP.
|
DiameterAvp |
createAvp(int avpCode,
double value)
Create an AVP containing a DiameterAvpValue from the double value provided.
|
DiameterAvp |
createAvp(int avpCode,
Enumerated value)
Create an AVP containing a DiameterAvpValue from the org.jainslee.resources.diameter.base.types.Enumerated value provided.
|
DiameterAvp |
createAvp(int avpCode,
float value)
Create an AVP containing a DiameterAvpValue from the float value provided.
|
DiameterAvp |
createAvp(int avpCode,
java.net.InetAddress value)
Create an AVP containing a DiameterAvpValue from the java.net.InetAddress value provided.
|
DiameterAvp |
createAvp(int avpCode,
int value)
Create an AVP containing a DiameterAvpValue from the int value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
byte[] value)
Create a vendor-specific AVP containing a DiameterAvpValue from the byte[] value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
java.util.Date value)
Create a vendor-specific AVP containing a DiameterAvpValue from the java.util.Date value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
DiameterAvp[] avps)
Create a value for a vendor-specific Grouped AVP.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
double value)
Create a vendor-specific AVP containing a DiameterAvpValue from the double value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
Enumerated value)
Create a vendor-specific AVP containing a DiameterAvpValue from the org.jainslee.resources.diameter.base.types.Enumerated value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
float value)
Create a vendor-specific AVP containing a DiameterAvpValue from the float value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
java.net.InetAddress value)
Create a vendor-specific AVP containing a DiameterAvpValue from the java.net.InetAddress value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
int value)
Create a vendor-specific AVP containing a DiameterAvpValue from the int value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
long value)
Create a vendor-specific AVP containing a DiameterAvpValue from the long value provided.
|
DiameterAvp |
createAvp(int vendorID,
int avpCode,
java.lang.String value)
Create a vendor-specific AVP containing a DiameterAvpValue from the java.lang.String value provided.
|
DiameterAvp |
createAvp(int avpCode,
long value)
Create an AVP containing a DiameterAvpValue from the long value provided.
|
DiameterAvp |
createAvp(int avpCode,
java.lang.String value)
Create an AVP containing a DiameterAvpValue from the java.lang.String value provided.
|
UndefinedAvp |
createAvp(java.lang.String name,
int vendorID,
int avpCode,
boolean isMandatory,
boolean isProtected,
byte[] avpData)
Creates an undefined AVP, an AVP that is not configured in the Diameter stack.
|
DiameterAvp |
createAvp(java.lang.String name,
int vendorID,
int avpCode,
boolean isMandatory,
boolean isProtected,
DiameterAvp[] avps)
Creates an undefined grouped AVP, a grouped AVP that is not configured in the Diameter stack.
|
CapabilitiesExchangeAnswer |
createCapabilitiesExchangeAnswer()
Create an empty CapabilitiesExchangeAnswer DiameterMessage for a CEA command.
|
CapabilitiesExchangeAnswer |
createCapabilitiesExchangeAnswer(DiameterAvp[] avps)
Create a CapabilitiesExchangeAnswer DiameterMessage for a CEA command containing the given AVPs.
|
CapabilitiesExchangeRequest |
createCapabilitiesExchangeRequest()
Create an empty CapabilitiesExchangeRequest DiameterMessage for a CER command.
|
CapabilitiesExchangeRequest |
createCapabilitiesExchangeRequest(DiameterAvp[] avps)
Create a CapabilitiesExchangeRequest DiameterMessage for a CER command containing the given AVPs.
|
CapabilitiesUpdateAnswer |
createCapabilitiesUpdateAnswer()
Create an empty CapabilitiesUpdateAnswer DiameterMessage for a CUA command.
|
CapabilitiesUpdateAnswer |
createCapabilitiesUpdateAnswer(DiameterAvp[] avps)
Create a CapabilitiesUpdateAnswer DiameterMessage for a CUA command containing the given AVPs.
|
CapabilitiesUpdateRequest |
createCapabilitiesUpdateRequest()
Create an empty CapabilitiesUpdateRequest DiameterMessage for a CUR command.
|
CapabilitiesUpdateRequest |
createCapabilitiesUpdateRequest(DiameterAvp[] avps)
Create a CapabilitiesUpdateRequest DiameterMessage for a CUR command containing the given AVPs.
|
DiameterCommand |
createCommand(int commandCode,
int applicationId,
java.lang.String shortName,
java.lang.String longName,
boolean isRequest,
boolean isProxiable)
Create an instance of a DiameterCommand concrete implementation using
the given arguments.
|
DeviceWatchdogAnswer |
createDeviceWatchdogAnswer()
Create an empty DeviceWatchdogAnswer DiameterMessage for a DWA command.
|
DeviceWatchdogAnswer |
createDeviceWatchdogAnswer(DiameterAvp[] avps)
Create a DeviceWatchdogAnswer DiameterMessage for a DWA command containing the given AVPs.
|
DeviceWatchdogRequest |
createDeviceWatchdogRequest()
Create an empty DeviceWatchdogRequest DiameterMessage for a DWR command.
|
DeviceWatchdogRequest |
createDeviceWatchdogRequest(DiameterAvp[] avps)
Create a DeviceWatchdogRequest DiameterMessage for a DWR command containing the given AVPs.
|
DisconnectPeerAnswer |
createDisconnectPeerAnswer()
Create an empty DisconnectPeerAnswer DiameterMessage for a DPA command.
|
DisconnectPeerAnswer |
createDisconnectPeerAnswer(DiameterAvp[] avps)
Create a DisconnectPeerAnswer DiameterMessage for a DPA command containing the given AVPs.
|
DisconnectPeerRequest |
createDisconnectPeerRequest()
Create an empty DisconnectPeerRequest DiameterMessage for a DPR command.
|
DisconnectPeerRequest |
createDisconnectPeerRequest(DiameterAvp[] avps)
Create a DisconnectPeerRequest DiameterMessage for a DPR command containing the given AVPs.
|
ExperimentalResult |
createExperimentalResult()
Create an empty ExperimentalResult (Grouped AVP) instance.
|
ExperimentalResult |
createExperimentalResult(DiameterAvp avp)
Create a ExperimentalResult (Grouped AVP) instance, populating one AVP.
|
ExperimentalResult |
createExperimentalResult(DiameterAvp[] avps)
Create a ExperimentalResult (Grouped AVP) instance using the given array to populate the AVPs.
|
ExperimentalResult |
createExperimentalResult(long vendorId,
long experimentalResultCode)
Create a ExperimentalResult (Grouped AVP) instance using required AVP values.
|
FailedAvp |
createFailedAvp()
Create an empty FailedAvp (Grouped AVP) instance.
|
FailedAvp |
createFailedAvp(DiameterAvp avp)
Create a FailedAvp (Grouped AVP) instance, populating one AVP.
|
FailedAvp |
createFailedAvp(DiameterAvp[] avps)
Create a FailedAvp (Grouped AVP) instance using the given array to populate the AVPs.
|
ExtensionDiameterMessage |
createMessage(DiameterCommand command,
DiameterAvp[] avps)
Create an instance of a DiameterMessage concrete implementation using
the given arguments and default AVPs required for the command (must be known
to the factory).
|
DiameterMessage |
createMessage(DiameterHeader header,
DiameterAvp[] avps) |
ProxyInfo |
createProxyInfo()
Create an empty ProxyInfo (Grouped AVP) instance.
|
ProxyInfo |
createProxyInfo(DiameterAvp avp)
Create a ProxyInfo (Grouped AVP) instance, populating one AVP.
|
ProxyInfo |
createProxyInfo(DiameterAvp[] avps)
Create a ProxyInfo (Grouped AVP) instance using the given array to populate the AVPs.
|
ProxyInfo |
createProxyInfo(DiameterIdentity proxyHost,
byte[] proxyState)
Create a ProxyInfo (Grouped AVP) instance using required AVP values.
|
ReAuthAnswer |
createReAuthAnswer()
Create an empty ReAuthAnswer DiameterMessage for a RAA command.
|
ReAuthAnswer |
createReAuthAnswer(DiameterAvp[] avps)
Create a ReAuthAnswer DiameterMessage for a RAA command containing the given AVPs.
|
ReAuthRequest |
createReAuthRequest()
Create an empty ReAuthRequest DiameterMessage for a RAR command.
|
ReAuthRequest |
createReAuthRequest(DiameterAvp[] avps)
Create a ReAuthRequest DiameterMessage for a RAR command containing the given AVPs.
|
SessionTerminationAnswer |
createSessionTerminationAnswer()
Create an empty SessionTerminationAnswer DiameterMessage for a STA command.
|
SessionTerminationAnswer |
createSessionTerminationAnswer(DiameterAvp[] avps)
Create a SessionTerminationAnswer DiameterMessage for a STA command containing the given AVPs.
|
SessionTerminationRequest |
createSessionTerminationRequest()
Create an empty SessionTerminationRequest DiameterMessage for a STR command.
|
SessionTerminationRequest |
createSessionTerminationRequest(DiameterAvp[] avps)
Create a SessionTerminationRequest DiameterMessage for a STR command containing the given AVPs.
|
VendorSpecificApplicationId |
createVendorSpecificApplicationId()
Create an empty VendorSpecificApplicationId (Grouped AVP) instance.
|
VendorSpecificApplicationId |
createVendorSpecificApplicationId(DiameterAvp avp)
Create a VendorSpecificApplicationId (Grouped AVP) instance, populating one AVP.
|
VendorSpecificApplicationId |
createVendorSpecificApplicationId(DiameterAvp[] avps)
Create a VendorSpecificApplicationId (Grouped AVP) instance using the given array to populate the AVPs.
|
VendorSpecificApplicationId |
createVendorSpecificApplicationId(long vendorId)
Create a VendorSpecificApplicationId (Grouped AVP) instance using required AVP values.
|
DiameterAvp |
decodeAvp(byte[] bytes)
Decodes an AVP from a byte array using standard Diameter AVP data formats.
|
byte[] |
encodeAvp(DiameterAvp avp)
Encodes an AVP to a byte array using standard Diameter AVP data formats.
|
boolean |
isRecognizedAvp(DiameterAvp avp)
Returns true if the specified AVP is recognized by this DiameterMessageFactory.
|
DiameterAvp createAvp(int avpCode, DiameterAvp[] avps) throws NoSuchAvpException, AvpNotAllowedException
DiameterAvpType.GROUPED
avpCode
- the code for the AVPavps
- an array of DiameterAvp objectsNoSuchAvpException
AvpNotAllowedException
DiameterAvp createAvp(int vendorID, int avpCode, DiameterAvp[] avps) throws NoSuchAvpException, AvpNotAllowedException
DiameterAvpType.GROUPED
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPavps
- an array of DiameterAvp objectsNoSuchAvpException
AvpNotAllowedException
byte[] encodeAvp(DiameterAvp avp)
DiameterAvp decodeAvp(byte[] bytes) throws DecodeException
DecodeException
DiameterAvp createAvp(int avpCode, byte[] value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, byte[] value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, int value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, int value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, long value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, long value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, float value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, float value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, double value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, double value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, java.net.InetAddress value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, java.net.InetAddress value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, java.util.Date value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, java.util.Date value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, java.lang.String value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, java.lang.String value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int avpCode, Enumerated value) throws NoSuchAvpException
avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
DiameterAvp createAvp(int vendorID, int avpCode, Enumerated value) throws NoSuchAvpException
vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPvalue
- the value itselfNoSuchAvpException
UndefinedAvp createAvp(java.lang.String name, int vendorID, int avpCode, boolean isMandatory, boolean isProtected, byte[] avpData)
name
- a symbolic name for this AVP, used for debugging. If null
, the AVP's name
will be set to the default value of UndefinedAvp.NAME
.vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPisMandatory
- specifies whether the M bit will be set in the AVP.isProtected
- specifies whether the P bit will be set in the AVP.avpData
- the undecoded AVP data.UndefinedAvp
instance.DiameterAvp createAvp(java.lang.String name, int vendorID, int avpCode, boolean isMandatory, boolean isProtected, DiameterAvp[] avps)
DiameterAvp
instance returned will always be of type DiameterAvpType.GROUPED
,
and does not need decoding, but its member AVPs may need decoding if they are UndefinedAvps
.name
- a symbolic name for this AVP, used for debugging. If null
, the AVP's name
will be set to the default value of UndefinedAvp.NAME
.vendorID
- the IANA-assigned enterprise number of the vendor that specified the AVP (eg. 10415 for 3GPP).avpCode
- the code for the AVPisMandatory
- specifies whether the M bit will be set in the AVP.isProtected
- specifies whether the P bit will be set in the AVP.avps
- an array of DiameterAvp objectsDiameterAvp
instance of type DiameterAvpType.GROUPED
.
The member AVPs may be accessed using DiameterAvp.groupedAvpValue()
.DiameterCommand createCommand(int commandCode, int applicationId, java.lang.String shortName, java.lang.String longName, boolean isRequest, boolean isProxiable)
commandCode
- the command code of the commandapplicationId
- the application ID of the commandshortName
- the short name of the command, e.g., "CER"longName
- the long name of the command, e.g., "Capabilities-Exchange-Request"isRequest
- true if this command represents a request (not answer)isProxiable
- true if this command may be proxiedcreateMessage(DiameterCommand, DiameterAvp[] avps)
.ExtensionDiameterMessage createMessage(DiameterCommand command, DiameterAvp[] avps) throws AvpNotAllowedException
command
- the command for this messageavps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
DiameterMessage createMessage(DiameterHeader header, DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
AbortSessionRequest createAbortSessionRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
AbortSessionRequest createAbortSessionRequest()
DiameterActivity.sendMessage(DiameterMessage)
.AbortSessionAnswer createAbortSessionAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
AbortSessionAnswer createAbortSessionAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.AccountingRequest createAccountingRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
AccountingRequest createAccountingRequest()
DiameterActivity.sendMessage(DiameterMessage)
.AccountingAnswer createAccountingAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
AccountingAnswer createAccountingAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.CapabilitiesExchangeRequest createCapabilitiesExchangeRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
CapabilitiesExchangeRequest createCapabilitiesExchangeRequest()
DiameterActivity.sendMessage(DiameterMessage)
.CapabilitiesExchangeAnswer createCapabilitiesExchangeAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
CapabilitiesExchangeAnswer createCapabilitiesExchangeAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.CapabilitiesUpdateRequest createCapabilitiesUpdateRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
CapabilitiesUpdateRequest createCapabilitiesUpdateRequest()
DiameterActivity.sendMessage(DiameterMessage)
.CapabilitiesUpdateAnswer createCapabilitiesUpdateAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
CapabilitiesUpdateAnswer createCapabilitiesUpdateAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.DeviceWatchdogRequest createDeviceWatchdogRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
DeviceWatchdogRequest createDeviceWatchdogRequest()
DiameterActivity.sendMessage(DiameterMessage)
.DeviceWatchdogAnswer createDeviceWatchdogAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
DeviceWatchdogAnswer createDeviceWatchdogAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.DisconnectPeerRequest createDisconnectPeerRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
DisconnectPeerRequest createDisconnectPeerRequest()
DiameterActivity.sendMessage(DiameterMessage)
.DisconnectPeerAnswer createDisconnectPeerAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
DisconnectPeerAnswer createDisconnectPeerAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.ReAuthRequest createReAuthRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
ReAuthRequest createReAuthRequest()
DiameterActivity.sendMessage(DiameterMessage)
.ReAuthAnswer createReAuthAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
ReAuthAnswer createReAuthAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.SessionTerminationRequest createSessionTerminationRequest(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
SessionTerminationRequest createSessionTerminationRequest()
DiameterActivity.sendMessage(DiameterMessage)
.SessionTerminationAnswer createSessionTerminationAnswer(DiameterAvp[] avps) throws AvpNotAllowedException
avps
- an array of DiameterAvp objects. AVPs will be added to the
message in the order they are in the array. May be null or empty.DiameterActivity.sendMessage(DiameterMessage)
.AvpNotAllowedException
SessionTerminationAnswer createSessionTerminationAnswer()
DiameterActivity.sendMessage(DiameterMessage)
.ExperimentalResult createExperimentalResult(long vendorId, long experimentalResultCode)
ExperimentalResult createExperimentalResult()
ExperimentalResult createExperimentalResult(DiameterAvp avp)
ExperimentalResult createExperimentalResult(DiameterAvp[] avps)
ProxyInfo createProxyInfo(DiameterIdentity proxyHost, byte[] proxyState)
ProxyInfo createProxyInfo()
ProxyInfo createProxyInfo(DiameterAvp avp)
ProxyInfo createProxyInfo(DiameterAvp[] avps)
VendorSpecificApplicationId createVendorSpecificApplicationId(long vendorId)
VendorSpecificApplicationId createVendorSpecificApplicationId()
VendorSpecificApplicationId createVendorSpecificApplicationId(DiameterAvp avp)
VendorSpecificApplicationId createVendorSpecificApplicationId(DiameterAvp[] avps)
FailedAvp createFailedAvp()
FailedAvp createFailedAvp(DiameterAvp avp)
FailedAvp createFailedAvp(DiameterAvp[] avps)
boolean isRecognizedAvp(DiameterAvp avp)