addNotification (EntityIdentifier, INotification)

Class: MessageBuilder

public DataObject [] addNotification (EntityIdentifier receiver, INotification notification)

This method constructs a message representing a notification

receiverthis should always be null
notificationthe notification to be sent

an array of DataObjects representing the message that can be sent to AwareIM.