Interface ShClientActivity
-
public interface ShClientActivity
Activity for a Diameter Sh client to send request messages and receive answer messages. The following messages can be fired as events:- UserDataAnswer
- ProfileUpdateAnswer
- SubscribeNotificationsAnswer
- Author:
- Open Cloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endActivity()
End this activity.void
sendProfileUpdateRequest(ProfileUpdateRequest message)
Send a Profile-Update-Request message asynchronously.void
sendSubscribeNotificationsRequest(SubscribeNotificationsRequest message)
Send a Subscribe-Notifications-Request message asynchronously.void
sendUserDataRequest(UserDataRequest message)
Send a User-Data-Request message asynchronously.
-
-
-
Method Detail
-
sendUserDataRequest
void sendUserDataRequest(UserDataRequest message) throws SendException
Send a User-Data-Request message asynchronously.- Parameters:
message
- request message to send- Throws:
SendException
- if the request message could not be sent
-
sendProfileUpdateRequest
void sendProfileUpdateRequest(ProfileUpdateRequest message) throws SendException
Send a Profile-Update-Request message asynchronously.- Parameters:
message
- request message to send- Throws:
SendException
- if the request message could not be sent
-
sendSubscribeNotificationsRequest
void sendSubscribeNotificationsRequest(SubscribeNotificationsRequest message) throws SendException
Send a Subscribe-Notifications-Request message asynchronously. This method should be used to subscribe to notifications that will be received on anShClientNotificationActivity
that is created by the RA for each Push-Notification-Request.- Parameters:
message
- request message to send- Throws:
SendException
- if the request message could not be sent
-
endActivity
void endActivity()
End this activity. This does not cause any messages to be sent, it simply ends the activity in the SLEE.
-
-