org.jdiameter.common.impl.app
Class AppEventImpl

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppEventImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.app.AppEvent
Direct Known Subclasses:
AppAnswerEventImpl, AppRequestEventImpl

public class AppEventImpl
extends java.lang.Object
implements org.jdiameter.api.app.AppEvent

See Also:
Serialized Form

Field Summary
protected  org.jdiameter.api.Message message
           
 
Constructor Summary
AppEventImpl(org.jdiameter.api.Message message)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getCommandCode()
           
 org.jdiameter.api.Message getMessage()
           
 java.lang.String getOriginHost()
           
 java.lang.String getOriginRealm()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected org.jdiameter.api.Message message
Constructor Detail

AppEventImpl

public AppEventImpl(org.jdiameter.api.Message message)
Method Detail

getCommandCode

public int getCommandCode()
Specified by:
getCommandCode in interface org.jdiameter.api.app.AppEvent

getMessage

public org.jdiameter.api.Message getMessage()
                                     throws org.jdiameter.api.InternalException
Specified by:
getMessage in interface org.jdiameter.api.app.AppEvent
Throws:
org.jdiameter.api.InternalException

getOriginHost

public java.lang.String getOriginHost()
                               throws org.jdiameter.api.AvpDataException
Specified by:
getOriginHost in interface org.jdiameter.api.app.AppEvent
Throws:
org.jdiameter.api.AvpDataException

getOriginRealm

public java.lang.String getOriginRealm()
                                throws org.jdiameter.api.AvpDataException
Specified by:
getOriginRealm in interface org.jdiameter.api.app.AppEvent
Throws:
org.jdiameter.api.AvpDataException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.