
public abstract class BusMember extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
busResourceURI |
protected ModuleContext |
owner |
protected AbstractBus |
theBus |
| Modifier | Constructor and Description |
|---|---|
protected |
BusMember(ModuleContext owner,
Object[] busFetchParams,
BusMemberType type) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
busDyingOut(AbstractBus b)
This method is called when the bus is stopped to announce this to the bus
members.
|
void |
close()
Unregisters the Subscriber from the bus.
|
String |
getComment()
Get the human-readable comment for this bus member.
|
String |
getLabel()
Get the human-readable label for this bus member.
|
BusMemberType |
getType()
Get the type of this bus member.
|
String |
getURI()
URI of this bus member.
|
void |
setComment(String comment)
Set a human-readable comment for this bus member.
|
void |
setLabel(String label)
Set a human-readable label for this bus member.
|
protected final ModuleContext owner
protected final AbstractBus theBus
protected final String busResourceURI
protected BusMember(ModuleContext owner, Object[] busFetchParams, BusMemberType type)
public void close()
public abstract void busDyingOut(AbstractBus b)
b - bus on which this member has been registeredAbstractBuspublic final String getURI()
public BusMemberType getType()
public void setLabel(String label)
label - the new label.public String getLabel()
public void setComment(String comment)
comment - the new comment.public String getComment()
Copyright © 2018 universAAL Consortium. All rights reserved.