org.universAAL.lddi.manager.publisher
Class hdpManager

Package class diagram package hdpManager
java.lang.Object
  extended by org.universAAL.lddi.manager.publisher.hdpManager
All Implemented Interfaces:
hdpManagerListener

public class hdpManager
extends Object
implements hdpManagerListener


Constructor Summary
hdpManager(String str1, String str2, org.osgi.framework.BundleContext context)
          Constructor
 
Method Summary
 void exit(String str1, String str2)
          Close HDP channel and free resources
 void init()
          Java methods
 void onChannelConnected()
          HDP data channel ready (created or reconnected). x073 agent state machine at connected status.
 void onChannelDisconnected()
          HDP channel unavailable. x073 state machine at disconnected status
 void onDataReceived()
          Input HDP data frame available at the right file descriptor. x073 agent state machine at connected status
 void onMessage(String str)
          Output of printf functions in native library (C code).
 void resetComponentsStatus()
          Reset components
 double shortDecimalNumber(double d)
          Shorten number of decimals
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

hdpManager

public hdpManager(String str1,
                  String str2,
                  org.osgi.framework.BundleContext context)
Constructor

Method Detail

init

public void init()
Java methods


onChannelConnected

public void onChannelConnected()
Description copied from interface: hdpManagerListener
HDP data channel ready (created or reconnected). x073 agent state machine at connected status.

Specified by:
onChannelConnected in interface hdpManagerListener

onDataReceived

public void onDataReceived()
Description copied from interface: hdpManagerListener
Input HDP data frame available at the right file descriptor. x073 agent state machine at connected status. *

Specified by:
onDataReceived in interface hdpManagerListener

shortDecimalNumber

public double shortDecimalNumber(double d)
Shorten number of decimals


onChannelDisconnected

public void onChannelDisconnected()
HDP channel unavailable. x073 state machine at disconnected status

Specified by:
onChannelDisconnected in interface hdpManagerListener

onMessage

public void onMessage(String str)
Description copied from interface: hdpManagerListener
Output of printf functions in native library (C code). Callback method to show C messages in Java environments

Specified by:
onMessage in interface hdpManagerListener

resetComponentsStatus

public void resetComponentsStatus()
Reset components


exit

public void exit(String str1,
                 String str2)
Close HDP channel and free resources



Copyright © 2014 universAAL Consortium. All Rights Reserved.