public class Subscription extends Object implements Serializable
Constructor and Description |
---|
Subscription(String path,
SubscriptionEvent event)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
SubscriptionEvent |
getEvent()
Gets the path of the object for the subscription.
|
String |
getPath()
Gets the path of the object for the subscription.
|
int |
hashCode() |
void |
setEvent(SubscriptionEvent event)
Sets the event for the subscription.
|
void |
setPath(String path)
Set the path of the object for the subscription
|
String |
toString() |
public Subscription(String path, SubscriptionEvent event)
path
- the path of the object to which to subscribe.event
- the subscribable event.public SubscriptionEvent getEvent()
public void setEvent(SubscriptionEvent event)
event
- the event for the subscription.public String getPath()
public void setPath(String path)
path
- the path of the object for the subscription.Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA