uk.ac.soton.itinnovation.grid.service.types.wsn
Class NotificationMessage

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.types.wsn.NotificationMessage

public class NotificationMessage
extends Object


Constructor Summary
NotificationMessage()
           
NotificationMessage(ProducerReference pRef, Message message)
           
 
Method Summary
 Date extractCreationTime()
          Get the creation time of this message.
 Message getMessage()
           
 ProducerReference getProducerReference()
           
 void setMessage(Message message)
           
 void setProducerReference(ProducerReference pRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationMessage

public NotificationMessage()

NotificationMessage

public NotificationMessage(ProducerReference pRef,
                           Message message)
Method Detail

setProducerReference

public void setProducerReference(ProducerReference pRef)

getProducerReference

public ProducerReference getProducerReference()

setMessage

public void setMessage(Message message)

getMessage

public Message getMessage()

extractCreationTime

public Date extractCreationTime()
Get the creation time of this message. This is used to check that messages are getting delivered. Note: don't call this getCreationTime or it will get serialised by Axis!



Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.