public interface ShMessageFactory extends MessageFactory
Modifier and Type | Method and Description |
---|---|
ProfileUpdateAnswer |
createProfileUpdateAnswer()
Create an empty ProfileUpdateAnswer that will need to have AVPs set on it before being sent.
|
ProfileUpdateAnswer |
createProfileUpdateAnswer(long resultCode,
boolean isExperimentalResult)
Create a ProfileUpdateAnswer containing a Result-Code or Experimental-Result AVP populated with the given value.
|
ProfileUpdateRequest |
createProfileUpdateRequest()
Create an empty ProfileUpdateRequest that will need to have AVPs set on it before being sent.
|
ProfileUpdateRequest |
createProfileUpdateRequest(UserIdentity userIdentity,
DataReference reference,
UserData userData)
Create a ProfileUpdateRequest using the given parameters to populate the User-Identity, Data-Reference and User-Data AVPs.
|
PushNotificationAnswer |
createPushNotificationAnswer()
Create an empty PushNotificationAnswer that will need to have AVPs set on it before being sent.
|
PushNotificationAnswer |
createPushNotificationAnswer(long resultCode,
boolean isExperimentalResultCode)
Create a PushNotificationAnswer containing a Result-Code or Experimental-Result AVP populated with the given value.
|
PushNotificationRequest |
createPushNotificationRequest()
Create an empty PushNotificationRequest.
|
PushNotificationRequest |
createPushNotificationRequest(UserIdentity userIdentity,
UserData userData)
Create a UserDataAnswer using the given parameters to populate the User-Identity and User-Data AVPs.
|
SubscribeNotificationsAnswer |
createSubscribeNotificationsAnswer()
Create an empty SubscribeNotificationsAnswer that will need to have AVPs set on it before being sent.
|
SubscribeNotificationsAnswer |
createSubscribeNotificationsAnswer(long resultCode,
boolean isExperimentalResult)
Create a SubscribeNotificationsAnswer containing a Result-Code or Experimental-Result AVP populated with the given value.
|
SubscribeNotificationsRequest |
createSubscribeNotificationsRequest()
Create an empty SubscribeNotificationsRequest that will need to have AVPs set on it before being sent.
|
SubscribeNotificationsRequest |
createSubscribeNotificationsRequest(UserIdentity userIdentity,
DataReference reference,
SubsReqType subscriptionType)
Create a SubscribeNotificationsRequest using the given parameters to populate the User-Identity, Data-Reference and Subs-Req-Type AVPs.
|
UserDataAnswer |
createUserDataAnswer()
Create an empty UserDataAnswer that will need to have AVPs set on it before being sent.
|
UserDataAnswer |
createUserDataAnswer(long resultCode,
boolean isExperimentalResult)
Create a UserDataAnswer containing a Result-Code or Experimental-Result AVP populated with the given value.
|
UserDataAnswer |
createUserDataAnswer(UserData userData)
Create a UserDataAnswer using the given parameter to populate the User-Data AVP.
|
UserDataRequest |
createUserDataRequest()
Create an empty UserDataRequest that will need to have AVPs set on it before being sent.
|
UserDataRequest |
createUserDataRequest(UserIdentity userIdentity,
DataReference reference)
Create a UserDataRequest using the given parameters to populate the User-Identity and Data-Reference AVPs.
|
createRepositoryDataId, createRepositoryDataId, createSupportedApplications, createSupportedApplications, createSupportedFeatures, createSupportedFeatures, createUserData, createUserData, createUserData, createUserIdentity, decodeAvp, encodeAvp, getBaseMessageFactory, getUserDataObjectFactory, isRecognizedAvp
UserDataRequest createUserDataRequest(UserIdentity userIdentity, DataReference reference)
ShClientActivity.sendUserDataRequest(org.jainslee.resources.diameter.sh.types.vb60.UserDataRequest)
UserDataRequest createUserDataRequest()
ShClientActivity.sendUserDataRequest(org.jainslee.resources.diameter.sh.types.vb60.UserDataRequest)
ProfileUpdateRequest createProfileUpdateRequest(UserIdentity userIdentity, DataReference reference, UserData userData)
ShClientActivity.sendProfileUpdateRequest(org.jainslee.resources.diameter.sh.types.vb60.ProfileUpdateRequest)
ProfileUpdateRequest createProfileUpdateRequest()
ShClientActivity.sendProfileUpdateRequest(org.jainslee.resources.diameter.sh.types.vb60.ProfileUpdateRequest)
SubscribeNotificationsRequest createSubscribeNotificationsRequest(UserIdentity userIdentity, DataReference reference, SubsReqType subscriptionType)
ShClientActivity.sendSubscribeNotificationsRequest(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsRequest)
or ShClientSubscriptionActivity.sendSubscribeNotificationsRequest(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsRequest)
SubscribeNotificationsRequest createSubscribeNotificationsRequest()
ShClientActivity.sendSubscribeNotificationsRequest(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsRequest)
or ShClientSubscriptionActivity.sendSubscribeNotificationsRequest(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsRequest)
PushNotificationAnswer createPushNotificationAnswer(long resultCode, boolean isExperimentalResultCode)
isExperimentalResultCode
is true
, the resultCode
parameter will be set
in a ExperimentalResult
AVP, if it is false
it
will be sent as a standard Result-Code AVP.ShClientNotificationActivity.sendPushNotificationAnswer(org.jainslee.resources.diameter.sh.types.vb60.PushNotificationAnswer)
PushNotificationAnswer createPushNotificationAnswer()
ShClientNotificationActivity.sendPushNotificationAnswer(org.jainslee.resources.diameter.sh.types.vb60.PushNotificationAnswer)
UserDataAnswer createUserDataAnswer(UserData userData)
DiameterResultCode.DIAMETER_SUCCESS
.ShServerActivity.sendUserDataAnswer(org.jainslee.resources.diameter.sh.types.vb60.UserDataAnswer)
UserDataAnswer createUserDataAnswer(long resultCode, boolean isExperimentalResult)
isExperimentalResultCode
is true
, the resultCode
parameter will be set
in a ExperimentalResult
AVP, if it is false
the
result code will be set in a Result-Code AVP.ShServerActivity.sendUserDataAnswer(org.jainslee.resources.diameter.sh.types.vb60.UserDataAnswer)
UserDataAnswer createUserDataAnswer()
ShServerActivity.sendUserDataAnswer(org.jainslee.resources.diameter.sh.types.vb60.UserDataAnswer)
ProfileUpdateAnswer createProfileUpdateAnswer(long resultCode, boolean isExperimentalResult)
isExperimentalResultCode
is true
, the resultCode
parameter will be set
in a ExperimentalResult
AVP, if it is false
the
result code will be set in a Result-Code AVP.ShServerActivity.sendProfileUpdateAnswer(org.jainslee.resources.diameter.sh.types.vb60.ProfileUpdateAnswer)
ProfileUpdateAnswer createProfileUpdateAnswer()
ShServerActivity.sendProfileUpdateAnswer(org.jainslee.resources.diameter.sh.types.vb60.ProfileUpdateAnswer)
SubscribeNotificationsAnswer createSubscribeNotificationsAnswer(long resultCode, boolean isExperimentalResult)
isExperimentalResultCode
is true
, the resultCode
parameter will be set
in a ExperimentalResult
AVP, if it is false
the
result code will be set in a Result-Code AVP.ShServerActivity.sendSubscribeNotificationsAnswer(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsAnswer)
SubscribeNotificationsAnswer createSubscribeNotificationsAnswer()
ShServerActivity.sendSubscribeNotificationsAnswer(org.jainslee.resources.diameter.sh.types.vb60.SubscribeNotificationsAnswer)
PushNotificationRequest createPushNotificationRequest(UserIdentity userIdentity, UserData userData)
ShServerNotificationActivity.sendPushNotificationRequest(org.jainslee.resources.diameter.sh.types.vb60.PushNotificationRequest)
PushNotificationRequest createPushNotificationRequest()
ShServerNotificationActivity.sendPushNotificationRequest(org.jainslee.resources.diameter.sh.types.vb60.PushNotificationRequest)