org.universAAL.support.utils
Class WrapperS
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Callee
org.universAAL.middleware.service.ServiceCallee
org.universAAL.support.utils.WrapperS
public class WrapperS
- extends ServiceCallee
This class is for internal use by the utility API only. It is just a Service
Callee that associates calls to its handleCall method to an associated
ISListener.
- Author:
- alfiva
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperS
protected WrapperS(ModuleContext context,
ServiceProfile[] realizedServices,
ISListener l)
- Constructor that takes the listener to associate.
- Parameters:
context
- The uAAL Module Context.realizedServices
- Service Profiles describing the services to provide.l
- The associated ISListener.
communicationChannelBroken
public void communicationChannelBroken()
- Description copied from class:
ServiceCallee
- This abstract method is called for each member of the bus when the bus is
being stopped.
- Specified by:
communicationChannelBroken
in class ServiceCallee
handleCall
public ServiceResponse handleCall(ServiceCall s)
- Description copied from class:
ServiceCallee
- The actual service method of the
ServiceCallee
. It is called
by the bus whenever there is a call that need to be serviced by this
ServiceCallee
.
- Specified by:
handleCall
in class ServiceCallee
- Parameters:
s
- the call that needs to be serviced.
- Returns:
- the result of the call execution.
Copyright © 2014 universAAL Consortium. All Rights Reserved.