public interface JLupinSerializer
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] byteBufferToDeserialize,
Object... params)
Deserialize byte array into object.
|
String |
getSerializerName()
Get serializer name.
|
byte[] |
serialize(JLupinInputParameter jLupinInputParameter)
Serialize JLupinInputParameter object to byte array.
|
byte[] |
serialize(JLupinOutputParameter jLupinOutputParameter)
Serialize JLupinOutputParameter object to byte array.
|
byte[] |
serialize(Object objectToSerialize,
Object... params)
Serialize object to byte array.
|
byte[] serialize(Object objectToSerialize, Object... params) throws JLupinSerializeException
objectToSerialize
- object to serializeparams
- not longer used parameterJLupinSerializeException
- on errorbyte[] serialize(JLupinOutputParameter jLupinOutputParameter) throws JLupinSerializeException
jLupinOutputParameter
- jLupinOutputParameterJLupinSerializeException
- on errorbyte[] serialize(JLupinInputParameter jLupinInputParameter) throws JLupinSerializeException
jLupinInputParameter
- jLupinInputParameterJLupinSerializeException
- on error<T> T deserialize(byte[] byteBufferToDeserialize, Object... params) throws JLupinSerializeException
T
- returned object typebyteBufferToDeserialize
- byte array to deserializeparams
- not longer used parameterJLupinSerializeException
- on errorString getSerializerName()