org.jdiameter.api.app
Interface AppEvent

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AbortSessionAnswer, AbortSessionRequest, AccountAnswer, AccountRequest, AppAnswerEvent, AppRequestEvent, JCreditControlAnswer, JCreditControlRequest, JLocationInfoAnswer, JLocationInfoRequest, JMultimediaAuthAnswer, JMultimediaAuthRequest, JPushProfileAnswer, JPushProfileRequest, JRegistrationTerminationAnswer, JRegistrationTerminationRequest, JServerAssignmentAnswer, JServerAssignmentRequest, JUserAuthorizationAnswer, JUserAuthorizationRequest, ProfileUpdateAnswer, ProfileUpdateRequest, PushNotificationAnswer, PushNotificationRequest, ReAuthAnswer, ReAuthRequest, SessionTermAnswer, SessionTermRequest, SubscribeNotificationsAnswer, SubscribeNotificationsRequest, UserDataAnswer, UserDataRequest

public interface AppEvent
extends java.io.Serializable

Basic class for application specific event (Sx, Rx, Gx)

Version:
1.5.1 Final

Method Summary
 int getCommandCode()
           
 Message getMessage()
           
 java.lang.String getOriginHost()
          Return origination host avp value ( null if avp is empty )
 java.lang.String getOriginRealm()
          Return origination realm avp value ( null if avp is empty )
 

Method Detail

getCommandCode

int getCommandCode()
Returns:
commCode of parent message

getMessage

Message getMessage()
                   throws InternalException
Returns:
set of associated message
Throws:
InternalException - signals that internal message is not set.

getOriginHost

java.lang.String getOriginHost()
                               throws AvpDataException
Return origination host avp value ( null if avp is empty )

Returns:
origination host avp value
Throws:
AvpDataException - if avp is not string

getOriginRealm

java.lang.String getOriginRealm()
                                throws AvpDataException
Return origination realm avp value ( null if avp is empty )

Returns:
origination realm avp value
Throws:
AvpDataException - if avp is not string


Copyright © 2010. All Rights Reserved.