public interface SyncUtilService
| Modifier and Type | Method and Description |
|---|---|
byte[] |
marshal(SyncObj<?> sObj)
Prepares the object for transmission/storage over the channel, by
converting the object into bytes.
|
SyncObj<?> |
unmarshal(Class<?> syncClass,
byte[] payload)
Synthesizes the object from the given bytes that were retrieved from
the channel.
|
SyncObj<?> unmarshal(Class<?> syncClass, byte[] payload)
syncClass - class of the object that is being synthesized.payload - the bytes retrieved from the channel.byte[] marshal(SyncObj<?> sObj)
sObj - the object which has to be flattened to
bytes.Copyright © 2014. All Rights Reserved.