com.vodafone360.people.datatypes
Class PushEvent

java.lang.Object
  extended by com.vodafone360.people.datatypes.BaseDataType
      extended by 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.


Field Summary
 EngineManager.EngineId mEngineId
           
 PushMessageTypes mMessageType
           
static java.lang.String NAME
           
 
Constructor Summary
PushEvent()
           
 
Method Summary
static BaseDataType createPushEvent(RpgPushMessage msg, EngineManager.EngineId engId)
          Create PushEvent from RpgPushMessage.
 java.lang.String name()
          Return name of the current Data-type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

mMessageType

public PushMessageTypes mMessageType

mEngineId

public EngineManager.EngineId mEngineId
Constructor Detail

PushEvent

public PushEvent()
Method Detail

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 - RpgPushMessage
engId - EngineId associated with message
Returns:
PushEvent created from supplied data

toString

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


JavaDoc