public class GridClientJdkMarshaller extends Object implements GridClientMarshaller
| Constructor and Description |
|---|
GridClientJdkMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getProtocolId()
Returns a unique ID of this marshaller's protocol, used
to determine exchange protocol between client
and server.
|
byte[] |
marshal(Object obj)
Marshals object to byte array.
|
<T> T |
unmarshal(byte[] bytes)
Unmarshalls object from byte array.
|
public byte[] marshal(Object obj) throws IOException
marshal in interface GridClientMarshallerobj - Object to marshal.IOException - If marshalling failed.public <T> T unmarshal(byte[] bytes)
throws IOException
unmarshal in interface GridClientMarshallerbytes - Byte array.IOException - If unmarshalling failed.public byte getProtocolId()
getProtocolId in interface GridClientMarshallerCopyright © 2014. All rights reserved.