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