org.universAAL.lddi.zwave.exporter.Server
Class MotionDecoder

Package class diagram package MotionDecoder
java.lang.Object
  extended by org.universAAL.lddi.zwave.exporter.Server.MotionDecoder
All Implemented Interfaces:
ISocketSeverProtocolDecoder

public class MotionDecoder
extends Object
implements ISocketSeverProtocolDecoder


Constructor Summary
MotionDecoder(MotionContactSensorPublisher mp)
           
 
Method Summary
 void decode(byte[] bBuffer)
          Function called when incoming data is received by a connection.
 void setListener(ISocketServerProtocolDecoderListener listener)
          Sets the listener which will be notified about the new incoming frames/packets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionDecoder

public MotionDecoder(MotionContactSensorPublisher mp)
Method Detail

decode

public void decode(byte[] bBuffer)
Description copied from interface: ISocketSeverProtocolDecoder
Function called when incoming data is received by a connection.

Specified by:
decode in interface ISocketSeverProtocolDecoder
Parameters:
bBuffer - the new data received

setListener

public void setListener(ISocketServerProtocolDecoderListener listener)
Description copied from interface: ISocketSeverProtocolDecoder
Sets the listener which will be notified about the new incoming frames/packets.

Specified by:
setListener in interface ISocketSeverProtocolDecoder
Parameters:
listener - the listener to receive the notification of new frames/packets


Copyright © 2014 universAAL Consortium. All Rights Reserved.