org.universAAL.context.chemobile
Class MobileHistorySubscriber
java.lang.Object
org.universAAL.middleware.bus.member.BusMember
org.universAAL.middleware.bus.member.Subscriber
org.universAAL.middleware.context.ContextSubscriber
org.universAAL.context.chemobile.MobileHistorySubscriber
public class MobileHistorySubscriber
- extends ContextSubscriber
The CHe subscriber subscribes for all context events in order to save them.
- Author:
- Alvaro Fides Valero
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MobileHistorySubscriber
protected MobileHistorySubscriber(ModuleContext context)
- Main constructor.
- Parameters:
context
- uaal module context
communicationChannelBroken
public void communicationChannelBroken()
- Description copied from class:
ContextSubscriber
- Method to be called when the communication of the Subsccriber with the
Context Bus is lost.
- Specified by:
communicationChannelBroken
in class ContextSubscriber
handleContextEvent
public void handleContextEvent(ContextEvent event)
- Description copied from class:
ContextSubscriber
- Method to be called when an Event forwarded in the Context Bus matches
one of the Patterns registered by this Subscriber.
- Specified by:
handleContextEvent
in class ContextSubscriber
- Parameters:
event
- The Context Event that matched the registered Patterns
setuAALParser
public void setuAALParser(MessageContentSerializer service)
- Sets the uaal parser.
- Parameters:
service
- the parser
Copyright © 2014 universAAL Consortium. All Rights Reserved.