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

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

public abstract class AbstractProtocolDecoder
extends Object
implements ISocketSeverProtocolDecoder

Abstract class with the basics of a ISocketSeverProtocolDecoder .

Version:
$Rev: 1246 $ $Date: 2009-03-23 13:28:24 +0100 (lun, 23 mar 2009) $
Author:
fraperod

Field Summary
protected  ISocketServerProtocolDecoderListener listener
          ProtocolDecoder listener.
 
Constructor Summary
AbstractProtocolDecoder()
          Constructor.
AbstractProtocolDecoder(ISocketServerProtocolDecoderListener listener)
          Constructor.
 
Method Summary
 void setListener(ISocketServerProtocolDecoderListener listener)
          Sets the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.universAAL.lddi.zwave.exporter.Server.ISocketSeverProtocolDecoder
decode
 

Field Detail

listener

protected ISocketServerProtocolDecoderListener listener
ProtocolDecoder listener.

Constructor Detail

AbstractProtocolDecoder

public AbstractProtocolDecoder()
Constructor. setListener should be called after construction.


AbstractProtocolDecoder

public AbstractProtocolDecoder(ISocketServerProtocolDecoderListener listener)
Constructor.

Parameters:
listener - the listener to notify
Method Detail

setListener

public void setListener(ISocketServerProtocolDecoderListener listener)
Sets the listener.

Specified by:
setListener in interface ISocketSeverProtocolDecoder
Parameters:
listener - the listener to notify


Copyright © 2014 universAAL Consortium. All Rights Reserved.