public abstract class RecvThroughHandler extends Object
RecvThroughClient
Constructor and Description |
---|
RecvThroughHandler() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getByte(io.netty.buffer.ByteBuf buffer)
Facility function to read from buffer and transfer to an array of bytes
|
abstract void |
writeByteBuf(io.netty.buffer.ByteBuf buffer)
This method will be called for each valid packet received to be written
|
public abstract void writeByteBuf(io.netty.buffer.ByteBuf buffer) throws OpenR66ProtocolBusinessException
buffer
- OpenR66ProtocolBusinessException
- This exception has to be
throw
if any error occurs during write
in business process.protected byte[] getByte(io.netty.buffer.ByteBuf buffer)
buffer
- Copyright © 2009–2020 Waarp. All rights reserved.