org.universAAL.lddi.weighingscale.publisher
Class Publisher
java.lang.Object
org.universAAL.lddi.weighingscale.publisher.Publisher
public class Publisher
- extends Object
Constructor Summary |
Publisher(org.osgi.framework.BundleContext context)
Publisher contructor |
Method Summary |
void |
publishEvent(String weight)
Publish weighting scale events to uAAL bus. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Publisher
public Publisher(org.osgi.framework.BundleContext context)
- Publisher contructor
- Parameters:
context
- - framework bundle context
publishEvent
public void publishEvent(String weight)
- Publish weighting scale events to uAAL bus.
- Parameters:
weight
- - weight measured value
Copyright © 2014 universAAL Consortium. All Rights Reserved.