org.jdiameter.common.impl.app
Class AppEventImpl

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

public class AppEventImpl
extends java.lang.Object
implements AppEvent

Author:
erick.svenson@yahoo.com, Bartosz Baranowski , Alexandre Mendonca
See Also:
Serialized Form

Field Summary
protected  Message message
           
 
Constructor Summary
AppEventImpl(Message message)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getCommandCode()
           
 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 Message message
Constructor Detail

AppEventImpl

public AppEventImpl(Message message)
Method Detail

getCommandCode

public int getCommandCode()
Specified by:
getCommandCode in interface AppEvent

getMessage

public Message getMessage()
                   throws InternalException
Specified by:
getMessage in interface AppEvent
Throws:
InternalException

getOriginHost

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

getOriginRealm

public java.lang.String getOriginRealm()
                                throws AvpDataException
Specified by:
getOriginRealm in interface AppEvent
Throws:
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 © 2014. All Rights Reserved.