org.universAAL.kinect.adapter.contextBus
Interface AbstractContext

Package class diagram package AbstractContext
All Known Implementing Classes:
HandGesturesPublisher

public interface AbstractContext

This interface links non universAAL object to universAAL specific ContextEvents thus acts as an adapter. Implementing classes create and handle specific ContextEvent with specific arguments.


Method Summary
 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.
 

Method Detail

getContextEvent

ContextEvent getContextEvent()
This method returns the ContextEvent

Returns:

setContextEvent

void setContextEvent(Collection<?> args)
This method sets the arguments of the ContextEvent.

Parameters:
args - Collection of arguments to be used for creating the proper ContextEvent

handleContextEvent

Collection<?> handleContextEvent(ContextEvent response)
This method handles the given response.

Parameters:
response - The ContextEvent to be processed
Returns:
A collection of objects extracted from the response.


Copyright © 2014 universAAL Consortium. All Rights Reserved.