public class ServiceCalleeWrapper extends ServiceCallee
busResourceURI, owner, theBus
Constructor and Description |
---|
ServiceCalleeWrapper(ModuleContext context,
ServiceProfile[] realizedServices,
Object wrappedObject,
String namespace,
String serviceURI,
Map<String,Method> annotatedMethods,
Map<String,List<String>> annotatedOutputNames,
Map<String,List<Output>> annotatedOutputs,
Map<String,List<String>> annotatedMethodsParametersNames,
Map<String,List<Input>> annotatedMethodsParameters) |
Modifier and Type | Method and Description |
---|---|
void |
communicationChannelBroken()
This abstract method is called for each member of the bus when the bus is
being stopped.
|
ServiceProfile[] |
getProfiles() |
ServiceResponse |
handleCall(ServiceCall call)
Handles the incoming ServiceCall and check if it fits to methods declared
by wrapped object.
|
void |
setProfiles(ServiceProfile[] profiles) |
addNewServiceProfiles, addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfiles
close, getComment, getLabel, getType, getURI, setComment, setLabel
public ServiceCalleeWrapper(ModuleContext context, ServiceProfile[] realizedServices, Object wrappedObject, String namespace, String serviceURI, Map<String,Method> annotatedMethods, Map<String,List<String>> annotatedOutputNames, Map<String,List<Output>> annotatedOutputs, Map<String,List<String>> annotatedMethodsParametersNames, Map<String,List<Input>> annotatedMethodsParameters)
public void communicationChannelBroken()
ServiceCallee
communicationChannelBroken
in class ServiceCallee
public ServiceResponse handleCall(ServiceCall call)
handleCall
in class ServiceCallee
call
- the call that needs to be serviced.ServiceCallee.handleCall(org.universAAL.middleware.service.ServiceCall)
public void setProfiles(ServiceProfile[] profiles)
public ServiceProfile[] getProfiles()
Copyright © 2018 universAAL Consortium. All rights reserved.