org.universAAL.lddi.knx.networkdriver
Class KnxCommunication

Package class diagram package KnxCommunication
java.lang.Object
  extended by org.universAAL.lddi.knx.networkdriver.KnxCommunication

public class KnxCommunication
extends Object

Manages reader and writer for communication to the knx gateway. This class is no longer a thread because the KNX gateway isn't pingable. Therefore this class doesn't check the gateway continuously.

Author:
Thomas Fuxreiter (foex@gmx.at)

Constructor Summary
KnxCommunication(KnxNetworkDriverImp driver)
           
 
Method Summary
 byte[] getLastSentPacket()
           
 void init()
           
 void readState(String deviceId)
           
 void sendCommand(String device, byte[] command, KnxCommand commandType)
           
 void stopCommunication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnxCommunication

public KnxCommunication(KnxNetworkDriverImp driver)
Method Detail

init

public void init()

stopCommunication

public void stopCommunication()

readState

public void readState(String deviceId)

sendCommand

public void sendCommand(String device,
                        byte[] command,
                        KnxCommand commandType)

getLastSentPacket

public byte[] getLastSentPacket()


Copyright © 2014 universAAL Consortium. All Rights Reserved.