DestinationSubscriptionState is no longer supported and
its use has no effect.@Deprecated public class DestinationSubscriptionState extends Object implements Serializable
DestinationSubscriptionState represents a subscriber's current
number of Destination subscriptions and the last Destination subscription
registered with the router.| Constructor and Description |
|---|
DestinationSubscriptionState()
Deprecated.
|
DestinationSubscriptionState(int numOfSubscriptions,
Destination lastDestination)
Deprecated.
Construct
DestinationSubscriptionState with the specified number of
subscriptions, and the last known Destination subscription. |
| Modifier and Type | Method and Description |
|---|---|
Destination |
getLastDestination()
Deprecated.
|
int |
getNumOfSubscriptions()
Deprecated.
|
void |
setLastDestination(Destination lastDestination)
Deprecated.
Set the last Destination subscription.
|
void |
setNumOfSubscriptions(int numOfSubscriptions)
Deprecated.
Set the number of destination subscriptions.
|
public DestinationSubscriptionState()
public DestinationSubscriptionState(int numOfSubscriptions,
Destination lastDestination)
DestinationSubscriptionState with the specified number of
subscriptions, and the last known Destination subscription.numOfSubscriptions - The total number of destination subscriptions registered with the router.lastDestination - The last Destination registered with the router.public Destination getLastDestination()
public void setLastDestination(Destination lastDestination)
lastDestination - The last Destination registered with the router.public int getNumOfSubscriptions()
public void setNumOfSubscriptions(int numOfSubscriptions)
numOfSubscriptions - The total number of destination subscriptions registered with the router.Copyright 2004-2020 Solace Corporation. All rights reserved.