public abstract class AbstractEmptyPayload extends Object implements IPayload
UtpProtocol don't contain any payload bytes.
This base class defines write(OutStream) and read(InStream) to do nothing.| Constructor and Description |
|---|
AbstractEmptyPayload() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Gets the payload size in bytes.
|
void |
read(InStream inStream)
Reads the payload.
|
void |
write(OutStream outStream)
Writes the payload.
|
Copyright © 2016. All rights reserved.