public abstract class AbstractProtocolDecoder extends Object implements ISocketSeverProtocolDecoder
ISocketSeverProtocolDecoder
.Modifier and Type | Field and Description |
---|---|
protected ISocketServerProtocolDecoderListener |
listener
ProtocolDecoder listener.
|
Constructor and Description |
---|
AbstractProtocolDecoder()
Constructor.
|
AbstractProtocolDecoder(ISocketServerProtocolDecoderListener listener)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setListener(ISocketServerProtocolDecoderListener listener)
Sets the listener.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode
protected ISocketServerProtocolDecoderListener listener
public AbstractProtocolDecoder()
setListener
should be called
after construction.public AbstractProtocolDecoder(ISocketServerProtocolDecoderListener listener)
listener
- the listener to notifypublic void setListener(ISocketServerProtocolDecoderListener listener)
setListener
in interface ISocketSeverProtocolDecoder
listener
- the listener to notifyCopyright © 2018 universAAL Consortium. All rights reserved.