public class SubscriptionEvent extends BusEvent
SubscribeListener
,
UnsubscribeListener
Constructor and Description |
---|
SubscriptionEvent(boolean remote,
boolean lastRemoteSubject,
boolean localOnly,
boolean isNew,
int count,
String sessionId,
String subject) |
SubscriptionEvent(boolean remote,
String sessionId,
int count,
boolean isNew,
String subject) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
String |
getSessionId()
Return the associated sessionId with the subscription event.
|
String |
getSubject()
Get the subject being subscribed to.
|
boolean |
isLastRemoteSubject() |
boolean |
isLocalOnly() |
boolean |
isNew() |
boolean |
isRemote()
Indicates whether or not this is a remote subscription event, meaning that the subscription is to a foreign-bus,
rather than to the current bus.
|
isDisposeListener, setDisposeListener
public SubscriptionEvent(boolean remote, String sessionId, int count, boolean isNew, String subject)
public String getSessionId()
public boolean isRemote()
public boolean isNew()
public boolean isLastRemoteSubject()
public boolean isLocalOnly()
public int getCount()
public String getSubject()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.