org.universAAL.middleware.context
Class DefaultContextPublisher

Package class diagram package DefaultContextPublisher
java.lang.Object
  extended by org.universAAL.middleware.bus.member.BusMember
      extended by org.universAAL.middleware.bus.member.Publisher
          extended by org.universAAL.middleware.context.ContextPublisher
              extended by org.universAAL.middleware.context.DefaultContextPublisher
Direct Known Subclasses:
UtilPublisher

public class DefaultContextPublisher
extends ContextPublisher

The default context publisher simply ignores the notification about losing connection to other instances of the middleware.

Author:
mtazari - Saied Tazari

Field Summary
 
Fields inherited from class org.universAAL.middleware.bus.member.BusMember
busResourceURI, owner, theBus
 
Constructor Summary
DefaultContextPublisher(ModuleContext context, ContextProvider providerInfo)
          Creates a default Context Publisher with the given Provider Information.
 
Method Summary
 void communicationChannelBroken()
          Method to be called when the communication of the Publisher with the Context Bus is lost.
 
Methods inherited from class org.universAAL.middleware.context.ContextPublisher
busDyingOut, getMyID, publish
 
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

DefaultContextPublisher

public DefaultContextPublisher(ModuleContext context,
                               ContextProvider providerInfo)
Creates a default Context Publisher with the given Provider Information.

Parameters:
context - The context of the Bundle creating the Publisher
providerInfo - The Information describing the Publisher
Method Detail

communicationChannelBroken

public void communicationChannelBroken()
Description copied from class: ContextPublisher
Method to be called when the communication of the Publisher with the Context Bus is lost.

Specified by:
communicationChannelBroken in class ContextPublisher
See Also:
Currently does nothing.


Copyright © 2014 universAAL Consortium. All Rights Reserved.