org.codehaus.wadi.jgroups
Class JGroupsEnvelope

java.lang.Object
  extended by org.codehaus.wadi.jgroups.JGroupsEnvelope
All Implemented Interfaces:
java.io.Serializable, Envelope

public class JGroupsEnvelope
extends java.lang.Object
implements Envelope, java.io.Serializable

A WADI Message mapped onto JGroups

Version:
$Revision: 1647 $
Author:
Jules Gosnell
See Also:
Serialized Form

Field Summary
protected  JGroupsPeer _address
           
protected  JGroupsCluster _cluster
           
protected  java.io.Serializable _payload
           
protected  JGroupsPeer _replyTo
           
protected  java.lang.String _sourceCorrelationId
           
protected  java.lang.String _targetCorrelationId
           
 
Constructor Summary
JGroupsEnvelope()
           
 
Method Summary
 Address getAddress()
           
 java.io.Serializable getPayload()
           
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.lang.Object getProperty(java.lang.String key)
           
 Quipu getQuipu()
           
 Address getReplyTo()
           
 java.lang.String getSourceCorrelationId()
           
 java.lang.String getTargetCorrelationId()
           
 void removeProperty(java.lang.String key)
           
 void setAddress(Address address)
           
 void setCluster(JGroupsCluster cluster)
           
 void setPayload(java.io.Serializable payload)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setQuipu(Quipu quipu)
           
 void setReplyTo(Address replyTo)
           
 void setSourceCorrelationId(java.lang.String correlationId)
           
 void setTargetCorrelationId(java.lang.String correlationId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_cluster

protected transient JGroupsCluster _cluster

_replyTo

protected JGroupsPeer _replyTo

_address

protected JGroupsPeer _address

_sourceCorrelationId

protected java.lang.String _sourceCorrelationId

_targetCorrelationId

protected java.lang.String _targetCorrelationId

_payload

protected java.io.Serializable _payload
Constructor Detail

JGroupsEnvelope

public JGroupsEnvelope()
Method Detail

getTargetCorrelationId

public java.lang.String getTargetCorrelationId()
Specified by:
getTargetCorrelationId in interface Envelope

setTargetCorrelationId

public void setTargetCorrelationId(java.lang.String correlationId)
Specified by:
setTargetCorrelationId in interface Envelope

getSourceCorrelationId

public java.lang.String getSourceCorrelationId()
Specified by:
getSourceCorrelationId in interface Envelope

setSourceCorrelationId

public void setSourceCorrelationId(java.lang.String correlationId)

getReplyTo

public Address getReplyTo()
Specified by:
getReplyTo in interface Envelope

setReplyTo

public void setReplyTo(Address replyTo)
Specified by:
setReplyTo in interface Envelope

getAddress

public Address getAddress()
Specified by:
getAddress in interface Envelope

setAddress

public void setAddress(Address address)
Specified by:
setAddress in interface Envelope

setPayload

public void setPayload(java.io.Serializable payload)
Specified by:
setPayload in interface Envelope

getPayload

public java.io.Serializable getPayload()
Specified by:
getPayload in interface Envelope

setCluster

public void setCluster(JGroupsCluster cluster)

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Specified by:
getProperties in interface Envelope

getProperty

public java.lang.Object getProperty(java.lang.String key)
Specified by:
getProperty in interface Envelope

removeProperty

public void removeProperty(java.lang.String key)
Specified by:
removeProperty in interface Envelope

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Specified by:
setProperty in interface Envelope

getQuipu

public Quipu getQuipu()
Specified by:
getQuipu in interface Envelope

setQuipu

public void setQuipu(Quipu quipu)
Specified by:
setQuipu in interface Envelope


Copyright © 2010. All Rights Reserved.