javax.rad.server.push
Class PushMessage

java.lang.Object
  extended by javax.rad.server.push.PushMessage

public class PushMessage
extends java.lang.Object

The PushMessage class will be used for pushing objects to IPushReceiver.


Nested Class Summary
static class PushMessage.MessageType
          the message type.
 
Constructor Summary
PushMessage(ISession pSession, PushMessage.MessageType pType, ResultObject pObject)
          Creates a new instance of PushMessage.
 
Method Summary
 ResultObject getObject()
          Gets the object.
 ISession getSession()
          Gets the session.
 PushMessage.MessageType getType()
          Gets the message type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushMessage

public PushMessage(ISession pSession,
                   PushMessage.MessageType pType,
                   ResultObject pObject)
Creates a new instance of PushMessage.

Parameters:
pSession - the session
pType - the message type
pObject - the object
Method Detail

getSession

public ISession getSession()
Gets the session.

Returns:
the session

getType

public PushMessage.MessageType getType()
Gets the message type.

Returns:
the type

getObject

public ResultObject getObject()
Gets the object.

Returns:
the object


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.