Constructor and Description |
---|
CSubsMulti(ModuleContext context,
ContextEventPattern[] initialSubscriptions,
String query)
Create the subscriber
|
Modifier and Type | Field and Description |
---|---|
LinkedList<ManifestTestCase.Element<ContextEventPattern>> |
ManifestTestCase.contextEventPatternsPublish |
LinkedList<ManifestTestCase.Element<ContextEventPattern>> |
ManifestTestCase.contextEventPatternsSubscribe |
Modifier and Type | Method and Description |
---|---|
protected void |
ManifestTestCase.add(String title,
String description,
ContextEventPattern cep,
boolean isPublisher) |
Modifier and Type | Method and Description |
---|---|
ContextEventPattern[] |
ContextSubscriber.getAllProvisions()
Returns all provisions registered by all
ContextPublisher s on all
instances of context bus in the current Space. |
ContextEventPattern[] |
ContextBus.getAllProvisions(String publisherID)
Returns all provisions registered by all
ContextPublisher s on all
instances of this bus in the current Space. |
Modifier and Type | Method and Description |
---|---|
protected void |
ContextSubscriber.addNewRegParams(ContextEventPattern[] newSubscriptions)
Registers more ContextEventPattern for this Subscriber in addition to
those that might have passed initially
|
void |
ContextBus.addNewRegParams(String memberID,
ContextEventPattern[] registrParams)
Allows the members of the context bus to provide registration parameters;
for the meaning of the provided "registration parameters" see the
explanation for the input parameter
registrParams . |
boolean |
ContextEventPattern.matches(ContextEventPattern subset) |
protected void |
ContextSubscriber.removeMatchingRegParams(ContextEventPattern[] oldSubscriptions)
Unregisters a set of ContextEventPattern that had been previously
registered for this Subscriber.
|
void |
ContextBus.removeMatchingRegParams(String memberID,
ContextEventPattern[] oldRegistrParams)
Removes registration parameters introduced previously through
ContextBus.addNewRegParams(String, ContextEventPattern[]) . |
Constructor and Description |
---|
ContextSubscriber(ModuleContext connectingModule,
ContextEventPattern[] initialSubscriptions)
Creates a Context Subscriber and immediately registers a set of Context
Event Patterns for it, so it receives the matching events.
|
Modifier and Type | Field and Description |
---|---|
ContextEventPattern |
ContextStrategy.ContextFilterer.f |
Modifier and Type | Method and Description |
---|---|
ContextEventPattern[] |
ContextBusImpl.getAllProvisions(String publisherID) |
Modifier and Type | Method and Description |
---|---|
void |
ContextBusImpl.addNewRegParams(String memberID,
ContextEventPattern[] registrParams) |
void |
ContextBusImpl.removeMatchingRegParams(String memberID,
ContextEventPattern[] oldRegistrParams) |
Modifier and Type | Method and Description |
---|---|
ContextEventPattern[] |
ContextProvider.getProvidedEvents()
Returns the classes of context events provided by this context provider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ContextProvider.setProvidedEvents(ContextEventPattern[] myEvents)
Allows to assign a set of
ContextEventPattern s as the classes of
context events provided by this ContextProvider. |
Constructor and Description |
---|
ReliabilityReasonerSubscriber(ModuleContext context,
ContextEventPattern[] initialSubscriptions) |
Modifier and Type | Method and Description |
---|---|
void |
RemoteUAAL.subscribeC(ContextEventPattern[] p,
ICListener l) |
Constructor and Description |
---|
ProxyContextSubscriber(ModuleContext connectingModule,
ContextEventPattern[] initialSubscriptions) |
Constructor and Description |
---|
CSubscriber(ModuleContext context,
ContextEventPattern[] initialSubscriptions) |
Constructor and Description |
---|
SubscriberWrapper(ModuleContext connectingModule,
ContextEventPattern[] initialSubscriptions,
Subscriber r,
String t) |
Constructor and Description |
---|
CSubscriber(ModuleContext context,
ContextEventPattern[] initialSubscriptions) |
CSubscriber2(ModuleContext context,
ContextEventPattern[] initialSubscriptions) |
Modifier and Type | Method and Description |
---|---|
static ContextEventPattern[] |
LightingConsumer.getContextSubscriptionParams() |
Modifier and Type | Method and Description |
---|---|
static ContextEventPattern[] |
LightingProvider.providedEvents(MyLighting theServer)
Helper method to construct the ontological declaration of context events
published by LightingProvider.
|
Modifier and Type | Method and Description |
---|---|
static ContextEventPattern[] |
LightingConsumer.getContextSubscriptionParams() |
Modifier and Type | Method and Description |
---|---|
static ContextEventPattern[] |
AuthenticationPublisher.getPattern() |
Modifier and Type | Method and Description |
---|---|
void |
ContextBusWrapper.register(String callback,
ContextEventPattern[] profiles) |
Constructor and Description |
---|
ContextConsumer(ModuleContext mc,
ContextEventPattern[] profiles,
ScriptEngine engine,
String callback) |
Modifier and Type | Method and Description |
---|---|
void |
UAAL.subscribeC(ContextEventPattern[] p,
ICListener l)
Subscribes for Context Events and specifies how the events would be
handled.
|
Constructor and Description |
---|
WrapperC(ModuleContext context,
ContextEventPattern[] initialSubscriptions,
ICListener l)
Constructor that takes the listener to associate.
|
Modifier and Type | Class and Description |
---|---|
class |
Pattern
Class that can be used to create the most commonly used types of simple
Context Event Patterns.
|
Constructor and Description |
---|
Provider(String uri,
ContextProviderType type,
ContextEventPattern[] events)
Simple constructor to create a Context Provider of a given type with the
given restrictions on the provided events.
|
Constructor and Description |
---|
UtilPublisher(ModuleContext context,
String uri,
ContextProviderType type,
ContextEventPattern[] pattern)
Create a simple Context Publisher of the given type which provided events
are described by a pattern and is identified with the given URI.
|
Modifier and Type | Field and Description |
---|---|
ContextEventPattern |
PatternInfo.pattern |
Constructor and Description |
---|
PatternInfo(ContextEventPattern pattern) |
Modifier and Type | Method and Description |
---|---|
static ContextEventPattern[] |
MyContextSubscriber.getContextSubscriptionParams()
Create the context event patterns that describe which context events we
want to receive.
|
Constructor and Description |
---|
DefaultContextSubscriber(ModuleContext context,
ContextEventPattern[] initialSubscriptions,
IContextCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
UAAL.subscribeC(ContextEventPattern[] p,
ICListener l)
Subscribes for Context Events and specifies how the events would be
handled.
|
Constructor and Description |
---|
WrapperC(ModuleContext context,
ContextEventPattern[] initialSubscriptions,
ICListener l)
Constructor that takes the listener to associate.
|
Constructor and Description |
---|
Provider(String uri,
ContextProviderType type,
ContextEventPattern[] events)
Simple constructor to create a Context Provider of a given type with the
given restrictions on the provided events.
|
Constructor and Description |
---|
UtilPublisher(ModuleContext context,
String uri,
ContextProviderType type,
ContextEventPattern[] pattern)
Create a simple Context Publisher of the given type which provided events
are described by a pattern and is identified with the given URI.
|
Copyright © 2018 universAAL Consortium. All rights reserved.