Class Subscription
java.lang.Object
com.sas.lsaf.messaging.subscription.Subscription
- All Implemented Interfaces:
Serializable
The client representation of a subscription.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEvent()Gets the path of the object for the subscription.getPath()Gets the path of the object for the subscription.inthashCode()voidsetEvent(SubscriptionEvent event) Sets the event for the subscription.voidSet the path of the object for the subscriptiontoString()
-
Constructor Details
-
Subscription
The constructor.- Parameters:
path- the path of the object to which to subscribe.event- the subscribable event.
-
-
Method Details
-
getEvent
Gets the path of the object for the subscription.- Returns:
- The path of the object for the subscription.
-
setEvent
Sets the event for the subscription.- Parameters:
event- the event for the subscription.
-
getPath
Gets the path of the object for the subscription.- Returns:
- The path of the object for the subscription.
-
setPath
Set the path of the object for the subscription- Parameters:
path- the path of the object for the subscription.
-
hashCode
public int hashCode() -
equals
-
toString
-