public class Subscription
extends java.lang.Object
| Constructor and Description |
|---|
Subscription(java.lang.Object topic) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Check if the subscription is empty or nor.
|
boolean |
isGranted()
Check if the subscription is in granted state.
|
void |
setSource(SubscriptionSource source) |
void |
subscribe(SubscriptionListener listener,
java.lang.Object hint) |
void |
unsubscribe(SubscriptionListener listener) |
public boolean isEmpty()
true if the subscription is empty,
false otherwisepublic boolean isGranted()
true if the subscription is in granted state,
false otherwisepublic void subscribe(SubscriptionListener listener, java.lang.Object hint)
public void unsubscribe(SubscriptionListener listener)
public void setSource(SubscriptionSource source)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0