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