Oracle

com.bea.httppubsub
Interface EventMessage

All Superinterfaces:
BayeuxMessage, Serializable

public interface EventMessage
extends BayeuxMessage, Serializable

Event message interface.

Since:
10.3.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.bea.httppubsub.BayeuxMessage
BayeuxMessage.TYPE
 
Method Summary
 String getPayLoad()
          Get payload string.
 void setPayLoad(String obj)
          Set payload string which will be used to fill in "data" field of event message.
 
Methods inherited from interface com.bea.httppubsub.BayeuxMessage
getChannel, getClient, getType, toJSONRequestString, toJSONResponseString
 

Method Detail

getPayLoad

String getPayLoad()
Get payload string.

Returns:
Payload object.

setPayLoad

void setPayLoad(String obj)
Set payload string which will be used to fill in "data" field of event message. Pls. note a EventMessage instance is mutable in com.bea.httppubsub.MessageFilter but unmutable in com.bea.httppubsub.DeliveredMessageEvent.

Parameters:
obj - Payload object.
See Also:
MessageFilter.handleMessage(EventMessage), DeliveredMessageEvent.getMessage()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.