org.objectweb.petals.tools.rmi.common.serializable.messagingtypes
Class InOut

java.lang.Object
  extended by org.objectweb.petals.tools.rmi.common.serializable.MessageExchange
      extended by org.objectweb.petals.tools.rmi.common.serializable.messagingtypes.InOut
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.jbi.messaging.InOut, javax.jbi.messaging.MessageExchange
Direct Known Subclasses:
InOptionalOut

public class InOut
extends MessageExchange
implements javax.jbi.messaging.InOut, java.io.Serializable

This class is a InOut message.

Author:
Nicolas SALATGE - EBM WebSourcing
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jbi.messaging.MessageExchange
javax.jbi.messaging.MessageExchange.Role
 
Field Summary
 
Fields inherited from class org.objectweb.petals.tools.rmi.common.serializable.MessageExchange
IN_MSG, IN_ONLY_PATTERN, IN_OPTIONAL_OUT_PATTERN, IN_OUT_PATTERN, OUT_MSG, ROBUST_IN_ONLY_PATTERN
 
Fields inherited from interface javax.jbi.messaging.MessageExchange
JTA_TRANSACTION_PROPERTY_NAME
 
Constructor Summary
InOut()
          the default constructor.
 
Method Summary
 javax.jbi.messaging.NormalizedMessage getInMessage()
           
 javax.jbi.messaging.NormalizedMessage getOutMessage()
           
 void setInMessage(javax.jbi.messaging.NormalizedMessage msg)
           
 void setOutMessage(javax.jbi.messaging.NormalizedMessage msg)
           
 
Methods inherited from class org.objectweb.petals.tools.rmi.common.serializable.MessageExchange
createFault, createMessage, getEndpoint, getError, getExchangeId, getFault, getFlowAttributes, getInterfaceName, getMessage, getMessages, getOperation, getPattern, getProperty, getPropertyNames, getRole, getService, getStatus, isTransacted, readObjectDelegate, setEndpoint, setError, setExchangeId, setFault, setFlowAttributes, setInterfaceName, setMessage, setOperation, setPattern, setProperty, setRole, setService, setStatus, writeObjectDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jbi.messaging.MessageExchange
createFault, createMessage, getEndpoint, getError, getExchangeId, getFault, getFlowAttributes, getInterfaceName, getMessage, getOperation, getPattern, getProperty, getPropertyNames, getRole, getService, getStatus, isTransacted, setEndpoint, setError, setFault, setFlowAttributes, setInterfaceName, setMessage, setOperation, setProperty, setService, setStatus
 

Constructor Detail

InOut

public InOut()
the default constructor.

Method Detail

getInMessage

public javax.jbi.messaging.NormalizedMessage getInMessage()
Specified by:
getInMessage in interface javax.jbi.messaging.InOut
Returns:
the normalized message
See Also:
InOnly.getInMessage()

getOutMessage

public javax.jbi.messaging.NormalizedMessage getOutMessage()
Specified by:
getOutMessage in interface javax.jbi.messaging.InOut
Returns:
the normalzied message
See Also:
InOptionalOut.getOutMessage()

setInMessage

public void setInMessage(javax.jbi.messaging.NormalizedMessage msg)
                  throws javax.jbi.messaging.MessagingException
Specified by:
setInMessage in interface javax.jbi.messaging.InOut
Parameters:
msg - the normalized message
Throws:
javax.jbi.messaging.MessagingException - impossible to set the message
See Also:
InOnly.setInMessage(javax.jbi.messaging.NormalizedMessage)

setOutMessage

public void setOutMessage(javax.jbi.messaging.NormalizedMessage msg)
                   throws javax.jbi.messaging.MessagingException
Specified by:
setOutMessage in interface javax.jbi.messaging.InOut
Parameters:
msg - the normalized message
Throws:
javax.jbi.messaging.MessagingException - impossible to set the message
See Also:
InOptionalOut.setOutMessage(javax.jbi.messaging.NormalizedMessage)


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.