public static final class ObjectNetworkMessageFilter.FilterTX extends java.lang.Object implements NetworkMessageFilter.FilterTx
Constructor and Description |
---|
FilterTX()
Creates a new encoding object filter
|
Modifier and Type | Method and Description |
---|---|
byte[] |
filterTX(java.lang.Object obj)
Encodes an object into bytes by using Object serialization
|
public byte[] filterTX(java.lang.Object obj) throws java.io.IOException
filterTX
in interface NetworkMessageFilter.FilterTx
obj
- The Object to serializejava.io.IOException
- Thrown if something goes wrong during the serializationCopyright © 1996–2021. All rights reserved.