com.vodafone360.people.datatypes
Class PushAvailabilityEvent

java.lang.Object
  extended by com.vodafone360.people.datatypes.BaseDataType
      extended by com.vodafone360.people.datatypes.PushEvent
          extended by com.vodafone360.people.datatypes.PushAvailabilityEvent

public class PushAvailabilityEvent
extends PushEvent

BaseDataType encapsulating PushAvailabilityEvent. This is a Push message received from People server containing Availability (Presence) change information.


Field Summary
 java.util.List<User> mChanges
          TODO: This should be Hashtable >
 
Fields inherited from class com.vodafone360.people.datatypes.PushEvent
mEngineId, mMessageType, NAME
 
Constructor Summary
PushAvailabilityEvent()
           
 
Method Summary
private static java.util.List<User> convertToList(java.util.Hashtable<java.lang.String,java.lang.Object> table)
           
static BaseDataType createPushEvent(RpgPushMessage msg, EngineManager.EngineId engId)
          Create PushAvailablityEvent from RpgPushMessage.
 
Methods inherited from class com.vodafone360.people.datatypes.PushEvent
name, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mChanges

public java.util.List<User> mChanges
TODO: This should be Hashtable >

Constructor Detail

PushAvailabilityEvent

public PushAvailabilityEvent()
Method Detail

createPushEvent

public static BaseDataType createPushEvent(RpgPushMessage msg,
                                           EngineManager.EngineId engId)
Create PushAvailablityEvent from RpgPushMessage.

Parameters:
msg - RpgPushMessage
engId - EngineId associated with message
Returns:
PushAvailabilityEvent created from supplied data

convertToList

private static java.util.List<User> convertToList(java.util.Hashtable<java.lang.String,java.lang.Object> table)


JavaDoc