org.jdiameter.common.api.app.cxdx
Interface ICxDxMessageFactory

All Known Implementing Classes:
CxDxSessionFactoryImpl

public interface ICxDxMessageFactory

Message Factory for Diameter Cx/Dx application.

Author:
Alexandre Mendonca , Bartosz Baranowski

Method Summary
 AppAnswerEvent createLocationInfoAnswer(Answer answer)
          Creates a Location-Info-Answer event.
 AppRequestEvent createLocationInfoRequest(Request request)
          Creates a Location-Info-Request event.
 AppAnswerEvent createMultimediaAuthAnswer(Answer answer)
          Creates a Multimedia-Auth-Answer event.
 AppRequestEvent createMultimediaAuthRequest(Request request)
          Creates a Multimedia-Auth-Request event.
 AppAnswerEvent createPushProfileAnswer(Answer answer)
          Creates a Push-Profile-Answer event.
 AppRequestEvent createPushProfileRequest(Request request)
          Creates a Push-Profile-Request event.
 AppAnswerEvent createRegistrationTerminationAnswer(Answer answer)
          Creates a Registration-Termination-Answer event.
 AppRequestEvent createRegistrationTerminationRequest(Request request)
          Creates a Registration-Termination-Request event.
 AppAnswerEvent createServerAssignmentAnswer(Answer answer)
          Creates a Server-Assignment-Answer event.
 AppRequestEvent createServerAssignmentRequest(Request request)
          Creates a Server-Assignment-Request event.
 AppAnswerEvent createUserAuthorizationAnswer(Answer answer)
          Creates a User-Authorization-Answer event.
 AppRequestEvent createUserAuthorizationRequest(Request request)
          Creates a User-Authorization-Request event.
 long getApplicationId()
          Returns the Application-Id that this message factory is related to
 

Method Detail

createLocationInfoRequest

AppRequestEvent createLocationInfoRequest(Request request)
Creates a Location-Info-Request event.

Parameters:
request - the request to create the LIR from
Returns:
an AppRequestEvent wrapping the LIR

createUserAuthorizationRequest

AppRequestEvent createUserAuthorizationRequest(Request request)
Creates a User-Authorization-Request event.

Parameters:
request - the request to create the UAR from
Returns:
an AppRequestEvent wrapping the UAR

createServerAssignmentRequest

AppRequestEvent createServerAssignmentRequest(Request request)
Creates a Server-Assignment-Request event.

Parameters:
request - the request to create the SAR from
Returns:
an AppRequestEvent wrapping the SAR

createRegistrationTerminationRequest

AppRequestEvent createRegistrationTerminationRequest(Request request)
Creates a Registration-Termination-Request event.

Parameters:
request - the request to create the RTR from
Returns:
an AppRequestEvent wrapping the RTR

createMultimediaAuthRequest

AppRequestEvent createMultimediaAuthRequest(Request request)
Creates a Multimedia-Auth-Request event.

Parameters:
request - the request to create the MAR from
Returns:
an AppRequestEvent wrapping the MAR

createPushProfileRequest

AppRequestEvent createPushProfileRequest(Request request)
Creates a Push-Profile-Request event.

Parameters:
request - the request to create the PPR from
Returns:
an AppRequestEvent wrapping the PPR

createPushProfileAnswer

AppAnswerEvent createPushProfileAnswer(Answer answer)
Creates a Push-Profile-Answer event.

Parameters:
answer - the answer to create the PPA from
Returns:
an AppAnswerEvent wrapping the PPA

createLocationInfoAnswer

AppAnswerEvent createLocationInfoAnswer(Answer answer)
Creates a Location-Info-Answer event.

Parameters:
answer - the answer to create the LIA from
Returns:
an AppAnswerEvent wrapping the LIA

createUserAuthorizationAnswer

AppAnswerEvent createUserAuthorizationAnswer(Answer answer)
Creates a User-Authorization-Answer event.

Parameters:
answer - the answer to create the UAA from
Returns:
an AppAnswerEvent wrapping the UAA

createServerAssignmentAnswer

AppAnswerEvent createServerAssignmentAnswer(Answer answer)
Creates a Server-Assignment-Answer event.

Parameters:
answer - the answer to create the SAA from
Returns:
an AppAnswerEvent wrapping the SAA

createRegistrationTerminationAnswer

AppAnswerEvent createRegistrationTerminationAnswer(Answer answer)
Creates a Registration-Termination-Answer event.

Parameters:
answer - the answer to create the RTA from
Returns:
an AppAnswerEvent wrapping the RTA

createMultimediaAuthAnswer

AppAnswerEvent createMultimediaAuthAnswer(Answer answer)
Creates a Multimedia-Auth-Answer event.

Parameters:
answer - the answer to create the MAA from
Returns:
an AppAnswerEvent wrapping the MAA

getApplicationId

long getApplicationId()
Returns the Application-Id that this message factory is related to

Returns:
the Application-Id value


Copyright © 2010. All Rights Reserved.