com.vodafone360.people.datatypes
Class PushEvent
java.lang.Object
com.vodafone360.people.datatypes.BaseDataType
com.vodafone360.people.datatypes.PushEvent
- Direct Known Subclasses:
- PushAvailabilityEvent, PushChatConversationEvent, PushChatMessageEvent, PushClosedConversationEvent, SystemNotification
public class PushEvent
- extends BaseDataType
Class which will hold information about RPG push messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
mMessageType
public PushMessageTypes mMessageType
mEngineId
public EngineManager.EngineId mEngineId
PushEvent
public PushEvent()
name
public java.lang.String name()
- Return name of the current Data-type.
- Specified by:
name
in class BaseDataType
- Returns:
- String containing name of the data-type.
createPushEvent
public static BaseDataType createPushEvent(RpgPushMessage msg,
EngineManager.EngineId engId)
- Create PushEvent from RpgPushMessage.
- Parameters:
msg
- RpgPushMessageengId
- EngineId associated with message
- Returns:
- PushEvent created from supplied data
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
JavaDoc