|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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 |
---|
void decode(byte[] bBuffer)
bBuffer
- the new data receivedvoid setListener(ISocketServerProtocolDecoderListener listener)
listener
- the listener to receive the notification of new
frames/packets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |