org.ws4d.java.message
Class InvokeMessage

java.lang.Object
  extended by org.ws4d.java.types.UnknownDataContainer
      extended by org.ws4d.java.message.Message
          extended by org.ws4d.java.message.InvokeMessage
All Implemented Interfaces:
DPWSMessageConstants

public class InvokeMessage
extends Message


Field Summary
 
Fields inherited from class org.ws4d.java.message.Message
MULTICAST_ROUTING_SCHEME, UNICAST_ROUTING_SCHEME, UNKNOWN_ROUTING_SCHEME
 
Fields inherited from interface org.ws4d.java.constants.DPWSMessageConstants
BYE_MESSAGE, FAULT_MESSAGE, GET_MESSAGE, GET_METADATA_MESSAGE, GET_METADATA_RESPONSE_MESSAGE, GET_RESPONSE_MESSAGE, GET_STATUS_MESSAGE, GET_STATUS_RESPONSE_MESSAGE, HELLO_MESSAGE, INVOKE_MESSAGE, MESSAGE_PROPERTY_DATA, PROBE_MATCHES_MESSAGE, PROBE_MESSAGE, RENEW_MESSAGE, RENEW_RESPONSE_MESSAGE, RESOLVE_MATCHES_MESSAGE, RESOLVE_MESSAGE, SUBSCRIBE_MESSAGE, SUBSCRIBE_RESPONSE_MESSAGE, SUBSCRIPTION_END_MESSAGE, UNKNOWN_MESSAGE, UNSUBSCRIBE_MESSAGE, UNSUBSCRIBE_RESPONSE_MESSAGE
 
Constructor Summary
InvokeMessage(SOAPHeader header)
           
InvokeMessage(java.lang.String action, boolean request, java.lang.String communicationManagerId)
          Creates a new InvokeInput message containing a SOAPHeader with a action property set to the value of the argument inputAction.
InvokeMessage(java.lang.String action, java.lang.String communicationManagerId)
          Creates a new InvokeInput message containing a SOAPHeader with a action property set to the value of argument inputAction and a unique message ID property.
 
Method Summary
 ParameterValue getContent()
          Gets the content of the body of this message.
 int getType()
          Type of message.
 void setContent(ParameterValue content)
          Sets content of the message body.
 java.lang.String toString()
           
 
Methods inherited from class org.ws4d.java.message.Message
getAction, getAppSequence, getCertificate, getHeader, getMessageId, getPrivateKey, getProtocolInfo, getRelatesTo, getReplyTo, getRoutingScheme, getTargetAddress, getTargetXAddressInfo, getTo, isInbound, isSecure, setCertificate, setInbound, setPrivateKey, setProtocolInfo, setResponseTo, setResponseTo, setRoutingScheme, setSecure, setTargetXAddressInfo
 
Methods inherited from class org.ws4d.java.types.UnknownDataContainer
addUnknownAttribute, addUnknownElement, getUnknownAttribute, getUnknownAttributes, getUnknownElement, getUnknownElements, getUnknownElements, setUnknownAttributes, setUnknownElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvokeMessage

public InvokeMessage(java.lang.String action,
                     java.lang.String communicationManagerId)
Creates a new InvokeInput message containing a SOAPHeader with a action property set to the value of argument inputAction and a unique message ID property. All other header- fields are empty and it is the caller's responsibility to fill them with suitable values.


InvokeMessage

public InvokeMessage(java.lang.String action,
                     boolean request,
                     java.lang.String communicationManagerId)
Creates a new InvokeInput message containing a SOAPHeader with a action property set to the value of the argument inputAction. If argument request is true a unique message ID property is set too. All other header- fields are empty and it is the caller's responsibility to fill them with suitable values.


InvokeMessage

public InvokeMessage(SOAPHeader header)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Message

getType

public int getType()
Description copied from class: Message
Type of message.

Specified by:
getType in class Message
Returns:
type.

getContent

public ParameterValue getContent()
Gets the content of the body of this message. The ParameterValue is the object representation of the content of the body of the message.

Returns:
the content of this message

setContent

public void setContent(ParameterValue content)
Sets content of the message body. The ParameterValue is the object representation of the content of the message body.

Parameters:
content - the content of this message