public class SubscriptionEndMessage extends Message
| Modifier and Type | Field and Description |
|---|---|
static int |
WSE_STATUS_DELIVERY_FAILURE_TYPE |
static int |
WSE_STATUS_NO_RESPONSE_OF_SUBSCRIBE_MESSAGE |
static int |
WSE_STATUS_SOURCE_CANCELING_TYPE |
static int |
WSE_STATUS_SOURCE_SHUTTING_DOWN_TYPE |
static int |
WSE_STATUS_UNKNOWN |
header, inbound, MULTICAST_ROUTING_SCHEME, UNICAST_ROUTING_SCHEME, UNKNOWN_ROUTING_SCHEMEunknownAttributes, unknownElements_QN_2_List| Constructor and Description |
|---|
SubscriptionEndMessage(int subscriptionEndType)
Creates a new SubscriptionEnd message containing a new created
SOAPHeader and a
subscription end type. |
SubscriptionEndMessage(int subscriptionEndType,
SOAPHeader header)
Creates a new SubscriptionEnd message containing a
SOAPHeader and a subscription end
type. |
SubscriptionEndMessage(int subscriptionEndType,
SOAPHeader header,
EndpointReference subscriptionManager)
Creates a new SubscriptionEnd Message containing a subscription end type, a
SOAPHeader
and a EndpointReference of the subscription manager. |
| Modifier and Type | Method and Description |
|---|---|
LocalizedString |
getReason() |
int |
getSubscriptionEndMessageType() |
EndpointReference |
getSubscriptionManager() |
int |
getType()
Type of message.
|
void |
setReason(LocalizedString reason) |
void |
setSubscriptionEndMessageType(int subscriptionEndType) |
void |
setSubscriptionManager(EndpointReference subscriptionManager) |
java.lang.String |
toString()
(non-Javadoc)
|
getAppSequence, getHeader, getMessageId, getRelatesTo, getReplyTo, getRoutingScheme, getTo, isInbound, setInbound, setResponseTo, setResponseTo, setRoutingScheme, setSOAPHeaderaddUnknownAttribute, addUnknownElement, getUnknownAttribute, getUnknownAttributes, getUnknownElement, getUnknownElements, getUnknownElements, setUnknownAttributes, setUnknownElementspublic static final int WSE_STATUS_DELIVERY_FAILURE_TYPE
public static final int WSE_STATUS_SOURCE_SHUTTING_DOWN_TYPE
public static final int WSE_STATUS_SOURCE_CANCELING_TYPE
public static final int WSE_STATUS_NO_RESPONSE_OF_SUBSCRIBE_MESSAGE
public static final int WSE_STATUS_UNKNOWN
public SubscriptionEndMessage(int subscriptionEndType)
SOAPHeader and a
subscription end type. All header- and eventing-related fields are empty and it is the caller's
responsibility to fill them with suitable values.subscriptionEndType - public SubscriptionEndMessage(int subscriptionEndType,
SOAPHeader header)
SOAPHeader and a subscription end
type. All header- and eventing-related fields are empty and it is the caller's responsibility
to fill them with suitable values.subscriptionEndType - header - public SubscriptionEndMessage(int subscriptionEndType,
SOAPHeader header,
EndpointReference subscriptionManager)
SOAPHeader
and a EndpointReference of the subscription manager.header - subscriptionManager - subscriptionEndType - public java.lang.String toString()
Messagepublic int getType()
Messagepublic LocalizedString getReason()
public void setReason(LocalizedString reason)
reason - the reason to setpublic int getSubscriptionEndMessageType()
public void setSubscriptionEndMessageType(int subscriptionEndType)
public EndpointReference getSubscriptionManager()
public void setSubscriptionManager(EndpointReference subscriptionManager)
subscriptionManager - the subscriptionManager to set