org.universAAL.kinect.adapter.defaultComponents
Class DefaultAdapter

Package class diagram package DefaultAdapter
java.lang.Object
  extended by 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


Constructor Summary
DefaultAdapter(ServiceCaller caller, ContextPublisher cp)
           
 
Method Summary
 Collection<?> callservice(AbstractService ao)
          Calls a service
 void publish(AbstractContext ac)
          Publishes Context Event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAdapter

public DefaultAdapter(ServiceCaller caller,
                      ContextPublisher cp)
Method Detail

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.