
public interface AbstractContext
ContextEvents thus acts as an adapter. Implementing classes create
and handle specific ContextEvent with specific arguments.| Modifier and Type | Method and Description |
|---|---|
ContextEvent |
getContextEvent()
This method returns the
ContextEvent |
Collection<?> |
handleContextEvent(ContextEvent response)
This method handles the given response.
|
void |
setContextEvent(Collection<?> args)
This method sets the arguments of the
ContextEvent. |
ContextEvent getContextEvent()
ContextEventvoid setContextEvent(Collection<?> args)
ContextEvent.args - Collection of arguments to be used for creating the proper
ContextEventCollection<?> handleContextEvent(ContextEvent response)
response - The ContextEvent to be processedCopyright © 2018 universAAL Consortium. All rights reserved.