public interface GridClientMarshaller
| 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.
|
byte[] marshal(Object obj) throws IOException
obj - Object to marshal.IOException - If marshalling failed.<T> T unmarshal(byte[] bytes)
throws IOException
bytes - Byte array.IOException - If unmarshalling failed.byte getProtocolId()
Copyright © 2014. All rights reserved.