public class DefaultAdapter extends Object implements IServiceCall, IContextPublisher
IServiceCall
and
IContextPublisher
for making ServiceCalls and ContextPublishingConstructor 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
IServiceCall
callservice
in interface IServiceCall
ao
- AbstractService
AdapterException
public final void publish(AbstractContext ac) throws AdapterException
IContextPublisher
publish
in interface IContextPublisher
ac
- AbstractContext
AdapterException
Copyright © 2018 universAAL Consortium. All rights reserved.