Package | Description |
---|---|
omq.common.util | |
omq.common.util.Serializers |
Modifier and Type | Method and Description |
---|---|
Request |
Serializer.deserializeRequest(java.lang.String type,
byte[] bytes,
RemoteObject obj) |
Response |
Serializer.deserializeResponse(byte[] bytes,
java.lang.Class<?> type) |
ISerializer |
Serializer.getInstance() |
ISerializer |
Serializer.getInstance(java.lang.String type) |
byte[] |
Serializer.serialize(java.lang.Object obj) |
byte[] |
Serializer.serialize(java.lang.String type,
java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JavaImp.deserializeObject(byte[] bytes) |
java.lang.Object |
KryoImp.deserializeObject(byte[] bytes,
java.lang.Class<?> type) |
Request |
JavaImp.deserializeRequest(byte[] bytes,
RemoteObject obj) |
Request |
ISerializer.deserializeRequest(byte[] bytes,
RemoteObject obj)
Deserialize a Request
|
Request |
GsonImp.deserializeRequest(byte[] bytes,
RemoteObject obj) |
Request |
KryoImp.deserializeRequest(byte[] bytes,
RemoteObject obj) |
Response |
JavaImp.deserializeResponse(byte[] bytes,
java.lang.Class<?> type) |
Response |
ISerializer.deserializeResponse(byte[] bytes,
java.lang.Class<?> type)
Deserialize a Response
|
Response |
GsonImp.deserializeResponse(byte[] bytes,
java.lang.Class<?> type) |
Response |
KryoImp.deserializeResponse(byte[] bytes,
java.lang.Class<?> type) |
byte[] |
JavaImp.serialize(java.lang.Object obj) |
byte[] |
ISerializer.serialize(java.lang.Object obj)
Serialize
|
byte[] |
GsonImp.serialize(java.lang.Object obj) |
byte[] |
KryoImp.serialize(java.lang.Object obj) |