Oracle Server E10293-02 Benutzerhandbuch
3GPP/Sh Diameter Java API
Oracle Diameter Java APIs
A-15
The Properties parameter specifies the features that will be handled by this Sh
provider. This is a list of properties which may contain a number of options. See
section [5.2.6] for know more about Sh Application options.
provider. This is a list of properties which may contain a number of options. See
section [5.2.6] for know more about Sh Application options.
Sh Listener
The DiameterShListener interface processes Diameter messages that are received by
the DiameterShProviderImpl class implementing the DiameterShProvider interface. A
DiameterShListener instance is registered to a provider by the following method
DiameterShProvider. setDiameterShListener ().
the DiameterShProviderImpl class implementing the DiameterShProvider interface. A
DiameterShListener instance is registered to a provider by the following method
DiameterShProvider. setDiameterShListener ().
This interface provides the following methods:
■
profileUpdateRequestReceived()
■
profileUpdateAnswerReceived()
■
pushNotificationRequestReceived()
■
pushNotificationAnswerReceived()
■
subscribeNotificationRequestReceived()
■
subscribeNotificationAnswerReceived()
■
userDataRequestReceived()
■
userDataAnswerReceived()
These methods process the received Diameter messages.
Sh Message Factory
The DiameterShMessageFactory interface provides factory methods which enable an
application to create Diameter messages as defined by the 3GPP [TS 29.328]
specification (Sh interface): createProfileUpdateRequest(),
createProfileUpdateAnswer(), createPushNotificationRequest(),
createPushNotificationAnswer(), createSubscribeNotificationRequest(),
createSubscribeNotification Answer(), createUserDataRequest() and
createUserDataAnswer(). An instance of a class implementing this interface can be
obtained by calling the DiameterStack.getShDiameterMessageFactory() method.
application to create Diameter messages as defined by the 3GPP [TS 29.328]
specification (Sh interface): createProfileUpdateRequest(),
createProfileUpdateAnswer(), createPushNotificationRequest(),
createPushNotificationAnswer(), createSubscribeNotificationRequest(),
createSubscribeNotification Answer(), createUserDataRequest() and
createUserDataAnswer(). An instance of a class implementing this interface can be
obtained by calling the DiameterStack.getShDiameterMessageFactory() method.
Messages created by this factory are:
■
Profile-Update-Request (PUR)
DiameterMessage
createProfileUpdateRequest(String destinationRealm,
String userIdentity,
String userData)
■
Profile-Update-Answer (PUA)
DiameterMessage
createProfileUpdateAnswer(String resultCode)
■
Push-Notification-Request (PNR)
DiameterMessage
createPushNotificationRequest(String destinationRealm,
String destinationHost,
String userIdentity,
String userData)
■
Push-Notification-Answer (PNA)