
public class DefaultAdapter extends Object implements IServiceCall, IContextPublisher
IServiceCall and
IContextPublisher for making ServiceCalls and ContextPublishing| Constructor and Description |
|---|
DefaultAdapter(ServiceCaller caller,
ContextPublisher cp) |
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
callservice(AbstractService ao)
Calls a service
|
void |
publish(AbstractContext ac)
Publishes Context Event
|
public DefaultAdapter(ServiceCaller caller, ContextPublisher cp)
public final Collection<?> callservice(AbstractService ao) throws AdapterException
IServiceCallcallservice in interface IServiceCallao - AbstractServiceAdapterExceptionpublic final void publish(AbstractContext ac) throws AdapterException
IContextPublisherpublish in interface IContextPublisherac - AbstractContextAdapterExceptionCopyright © 2018 universAAL Consortium. All rights reserved.