org.universAAL.kinect.adapter.defaultComponents
Class DefaultAdapter
java.lang.Object
org.universAAL.kinect.adapter.defaultComponents.DefaultAdapter
- All Implemented Interfaces:
- IContextPublisher, IServiceCall
public class DefaultAdapter
- extends Object
- implements IServiceCall, IContextPublisher
This class is a default implementation of IServiceCall
and
IContextPublisher
for making ServiceCalls and ContextPublishing
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAdapter
public DefaultAdapter(ServiceCaller caller,
ContextPublisher cp)
callservice
public final Collection<?> callservice(AbstractService ao)
throws AdapterException
- Description copied from interface:
IServiceCall
- Calls a service
- Specified by:
callservice
in interface IServiceCall
- Parameters:
ao
- AbstractService
- Returns:
-
- Throws:
AdapterException
publish
public final void publish(AbstractContext ac)
throws AdapterException
- Description copied from interface:
IContextPublisher
- Publishes Context Event
- Specified by:
publish
in interface IContextPublisher
- Parameters:
ac
- AbstractContext
- Throws:
AdapterException
Copyright © 2014 universAAL Consortium. All Rights Reserved.