public class JadexBinaryCodec2
extends java.lang.Object
implements jadex.bridge.service.types.message.ICodec
Modifier and Type | Field and Description |
---|---|
static byte |
CODEC_ID
The JadexBinary codec id.
|
protected boolean |
DEBUG
The debug flag.
|
Constructor and Description |
---|
JadexBinaryCodec2() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
decode(java.lang.Object bytes,
java.lang.ClassLoader classloader,
jadex.commons.transformation.binaryserializer.IErrorReporter rep)
Decode an object.
|
java.lang.Object |
encode(java.lang.Object val,
java.lang.ClassLoader classloader,
jadex.bridge.service.types.message.IEncodingContext context)
Encode an object.
|
byte |
getCodecId()
Get the codec id.
|
public static final byte CODEC_ID
protected boolean DEBUG
public byte getCodecId()
getCodecId
in interface jadex.bridge.service.types.message.ICodec
public java.lang.Object encode(java.lang.Object val, java.lang.ClassLoader classloader, jadex.bridge.service.types.message.IEncodingContext context)
encode
in interface jadex.bridge.service.types.message.ICodec
obj
- The object.java.io.IOException
public java.lang.Object decode(java.lang.Object bytes, java.lang.ClassLoader classloader, jadex.commons.transformation.binaryserializer.IErrorReporter rep)
decode
in interface jadex.bridge.service.types.message.ICodec
java.io.IOException