public abstract class UtilSubscriber extends ContextSubscriber
subscriber = new SubscriberExample(context, HeaterActuator.MY_URI,
HeaterActuator.PROP_STATUS, null);
busResourceURI, owner, theBus| Modifier | Constructor and Description |
|---|---|
protected |
UtilSubscriber(ModuleContext context,
ManagedIndividual subj,
String predicate,
Object obj)
Create a simple Context Subscriber that will listen to the events
matching what is specified in the constructor.
|
protected |
UtilSubscriber(ModuleContext context,
ManagedIndividual subj,
String predicate,
String objTypeURI)
Create a simple Context Subscriber that will listen to the events
matching what is specified in the constructor.
|
protected |
UtilSubscriber(ModuleContext context,
String subjTypeURI,
String predicate,
Object obj)
Create a simple Context Subscriber that will listen to the events
matching what is specified in the constructor.
|
protected |
UtilSubscriber(ModuleContext context,
String subjTypeURI,
String predicate,
String objTypeURI)
Create a simple Context Subscriber that will listen to the events
matching what is specified in the constructor.
|
addNewRegParams, busDyingOut, communicationChannelBroken, getAllProvisions, getMyID, handleContextEvent, handleEvent, removeMatchingRegParamsclose, getComment, getLabel, getType, getURI, setComment, setLabelprotected UtilSubscriber(ModuleContext context, String subjTypeURI, String predicate, String objTypeURI)
context - The universAAL module context.subjTypeURI - The type URI that the provided events subject must have. Null
for any.predicate - The exact predicate that the provided events must equal. Null
for any.objTypeURI - The type URI that the provided events object must have. Null
for any.protected UtilSubscriber(ModuleContext context, ManagedIndividual subj, String predicate, String objTypeURI)
context - The universAAL module context.subj - The exact instance that the provided events subject must
equal. Null for any.predicate - The exact predicate that the provided events must equal. Null
for any.objTypeURI - The type URI that the provided events object must have. Null
for any.protected UtilSubscriber(ModuleContext context, ManagedIndividual subj, String predicate, Object obj)
context - The universAAL module context.subj - The exact instance that the event subject must equal. Null for
any.predicate - The exact predicate that the event must equal. Null for any.obj - The exact instance that the event object must equal. Null for
any.protected UtilSubscriber(ModuleContext context, String subjTypeURI, String predicate, Object obj)
context - The universAAL module context.subjTypeURI - The type URI that the event subject must have. Null for any.predicate - The exact predicate that the event must equal. Null for any.obj - The exact instance that the event object must equal. Null for
any.Copyright © 2018 universAAL Consortium. All rights reserved.