org.universAAL.lddi.manager.publisher
Interface hdpManagerListener

Package class diagram package hdpManagerListener
All Known Implementing Classes:
hdpManager

public interface hdpManagerListener

Interface that should be necessary implemented by the HDP manager in order to attend "connection", "disconnection" and "received data" agents (Continua sources) events

Version:
0 June, 2012
Author:
Angel Martinez (amartinez@tsbtecnologias.es), Luis Gigante (lgigante@tsbtecnologias.es) *

Method Summary
 void onChannelConnected()
          HDP data channel ready (created or reconnected). x073 agent state machine at connected status.
 void onChannelDisconnected()
          HDP data channel deleted (data path will not be valid anymore). x073 agent 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).
 

Method Detail

onChannelConnected

void onChannelConnected()
HDP data channel ready (created or reconnected). x073 agent state machine at connected status.

Parameters:
Input - arguments are not needed

onChannelDisconnected

void onChannelDisconnected()
HDP data channel deleted (data path will not be valid anymore). x073 agent state machine at disconnected status.

Parameters:
Input - arguments are not needed

onDataReceived

void onDataReceived()
Input HDP data frame available at the right file descriptor. x073 agent state machine at connected status. *

Parameters:
Input - arguments are not needed

onMessage

void onMessage(String str)
Output of printf functions in native library (C code). Callback method to show C messages in Java environments

Parameters:
Message - to be shown (string text)


Copyright © 2014 universAAL Consortium. All Rights Reserved.