org.universAAL.lddi.zwave.exporter.Server
Class MotionDecoder
java.lang.Object
org.universAAL.lddi.zwave.exporter.Server.MotionDecoder
- All Implemented Interfaces:
- ISocketSeverProtocolDecoder
public class MotionDecoder
- extends Object
- implements ISocketSeverProtocolDecoder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MotionDecoder
public MotionDecoder(MotionContactSensorPublisher mp)
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.