org.codehaus.wadi.jgroups
Class JGroupsEnvelope

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

public class JGroupsEnvelope
extends java.lang.Object
implements org.codehaus.wadi.group.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
 org.codehaus.wadi.group.Address getAddress()
           
 java.io.Serializable getPayload()
           
 java.util.Map getProperties()
           
 java.lang.Object getProperty(java.lang.String key)
           
 org.codehaus.wadi.group.Quipu getQuipu()
           
 org.codehaus.wadi.group.Address getReplyTo()
           
 java.lang.String getSourceCorrelationId()
           
 java.lang.String getTargetCorrelationId()
           
 void setAddress(org.codehaus.wadi.group.Address address)
           
 void setCluster(JGroupsCluster cluster)
           
 void setPayload(java.io.Serializable payload)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setQuipu(org.codehaus.wadi.group.Quipu quipu)
           
 void setReplyTo(org.codehaus.wadi.group.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 org.codehaus.wadi.group.Envelope

setTargetCorrelationId

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

getSourceCorrelationId

public java.lang.String getSourceCorrelationId()
Specified by:
getSourceCorrelationId in interface org.codehaus.wadi.group.Envelope

setSourceCorrelationId

public void setSourceCorrelationId(java.lang.String correlationId)

getReplyTo

public org.codehaus.wadi.group.Address getReplyTo()
Specified by:
getReplyTo in interface org.codehaus.wadi.group.Envelope

setReplyTo

public void setReplyTo(org.codehaus.wadi.group.Address replyTo)
Specified by:
setReplyTo in interface org.codehaus.wadi.group.Envelope

getAddress

public org.codehaus.wadi.group.Address getAddress()
Specified by:
getAddress in interface org.codehaus.wadi.group.Envelope

setAddress

public void setAddress(org.codehaus.wadi.group.Address address)
Specified by:
setAddress in interface org.codehaus.wadi.group.Envelope

setPayload

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

getPayload

public java.io.Serializable getPayload()
Specified by:
getPayload in interface org.codehaus.wadi.group.Envelope

setCluster

public void setCluster(JGroupsCluster cluster)

getProperties

public java.util.Map getProperties()
Specified by:
getProperties in interface org.codehaus.wadi.group.Envelope

getProperty

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

setProperty

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

getQuipu

public org.codehaus.wadi.group.Quipu getQuipu()
Specified by:
getQuipu in interface org.codehaus.wadi.group.Envelope

setQuipu

public void setQuipu(org.codehaus.wadi.group.Quipu quipu)
Specified by:
setQuipu in interface org.codehaus.wadi.group.Envelope


Copyright © 2010. All Rights Reserved.