Class IPCUtils
java.lang.Object
org.deltava.util.IPCUtils
A utility class to handle deserializing IPC data.
- Since:
- 1.0
- Version:
- 11.1
- Author:
- Luke
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Serializable>
Collection<T> deserialize
(Collection<byte[]> data) Deserializes shared data.static <T extends Serializable>
Collection<T> deserialize
(org.gvagroup.ipc.IPCInfo<T> data) Deserializes shared data.static <T extends Serializable>
Treserialize
(T data) Reserializes a shared object to allow local access if loaded by a different class loader.static Collection
<byte[]> serialize
(Collection<? extends Serializable> data) Serializes IPC data.
-
Method Details
-
reserialize
Reserializes a shared object to allow local access if loaded by a different class loader.- Parameters:
data
- the shared object- Returns:
- a local class version of the shared object
-
deserialize
Deserializes shared data.- Parameters:
data
- the object that can pass serialized data- Returns:
- a Collection of beans
-
deserialize
Deserializes shared data.- Parameters:
data
- the object that can pass serialized data- Returns:
- a Collection of beans
-
serialize
Serializes IPC data.- Parameters:
data
- a Collection of data elements- Returns:
- a Collection of byte arrays
-