org.universAAL.lddi.zwave.exporter.Server
Interface ISocketSeverProtocolDecoder

Package class diagram package ISocketSeverProtocolDecoder
All Known Implementing Classes:
AbstractProtocolDecoder, MotionDecoder

public interface ISocketSeverProtocolDecoder

Interface to be implemented by the classes used to decode the incoming bytes of a connection into packets or frames. When a new frame has been reassembled it is passed using the packetReceived method

Version:
$Rev: 5339 $ $Date: 2012-09-25 17:17:28 +0200 (mar, 25 sep 2012) $
Author:
fraperod

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.
 

Method Detail

decode

void decode(byte[] bBuffer)
Function called when incoming data is received by a connection.

Parameters:
bBuffer - the new data received

setListener

void setListener(ISocketServerProtocolDecoderListener listener)
Sets the listener which will be notified about the new incoming frames/packets.

Parameters:
listener - the listener to receive the notification of new frames/packets


Copyright © 2014 universAAL Consortium. All Rights Reserved.