public class ListenerSubscriptionPair extends Object
Constructor and Description |
---|
ListenerSubscriptionPair()
For config - must be constructed using the setters
|
ListenerSubscriptionPair(ServerNotificationListener listener) |
ListenerSubscriptionPair(ServerNotificationListener listener,
String subscription) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ServerNotificationListener |
getListener() |
String |
getSubscription() |
int |
hashCode() |
boolean |
isNullSubscription() |
void |
setListener(ServerNotificationListener listener) |
void |
setSubscription(String subscription) |
String |
toString() |
public ListenerSubscriptionPair()
public ListenerSubscriptionPair(ServerNotificationListener listener)
public ListenerSubscriptionPair(ServerNotificationListener listener, String subscription)
public void setListener(ServerNotificationListener listener)
public void setSubscription(String subscription)
public ServerNotificationListener getListener()
public String getSubscription()
public boolean isNullSubscription()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.