org.universAAL.lddi.fs20.exporter
Class FS20Server

Package class diagram package FS20Server
java.lang.Object
  extended by org.universAAL.middleware.bus.member.BusMember
      extended by org.universAAL.middleware.bus.member.Callee
          extended by org.universAAL.middleware.service.ServiceCallee
              extended by org.universAAL.lddi.fs20.exporter.FS20Server

public class FS20Server
extends ServiceCallee

Handles service calls from uAAL and reacts on them

Author:
Steeven Zeiss Fraunhofer IGD (steeven.zeiss@igd.fraunhofer.de)

Field Summary
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
protected FS20Server(ModuleContext context)
          Constructor with a given ModuleContext
 
Method Summary
 boolean _activateGong(String URI)
           
 boolean _startAnimation(String URI, Byte animation)
           
 boolean _turnOffFS20ST(String URI)
           
 boolean _turnOnFS20ST(String URI)
           
 void communicationChannelBroken()
          This abstract method is called for each member of the bus when the bus is being stopped.
 ServiceResponse handleCall(ServiceCall call)
          Handles the service call and react on it
 
Methods inherited from class org.universAAL.middleware.service.ServiceCallee
addNewServiceProfiles, busDyingOut, getMyID, handleRequest, removeMatchingProfiles
 
Methods inherited from class org.universAAL.middleware.bus.member.BusMember
close, getType, getURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FS20Server

protected FS20Server(ModuleContext context)
Constructor with a given ModuleContext

Parameters:
context - = the given ModuleContext
Method Detail

handleCall

public ServiceResponse handleCall(ServiceCall call)
Handles the service call and react on it

Specified by:
handleCall in class ServiceCallee
Parameters:
call - = the call from uAAL
Returns:
the result of the call execution.

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

_startAnimation

public boolean _startAnimation(String URI,
                               Byte animation)
See Also:
startAnimation

_activateGong

public boolean _activateGong(String URI)
See Also:
activateGong

_turnOnFS20ST

public boolean _turnOnFS20ST(String URI)
See Also:
turnOnFS20ST

_turnOffFS20ST

public boolean _turnOffFS20ST(String URI)
See Also:
turnOffFS20ST


Copyright © 2014 universAAL Consortium. All Rights Reserved.