Public Member Functions

GridGain.Client.Impl.Marshaller.IGridClientMarshaller Interface Reference

Marshaller for binary protocol messages. More...

Inherited by GridGain.Client.Impl.Marshaller.GridClientProtobufMarshaller.

List of all members.

Public Member Functions

byte[] Marshal (Object val)
 Marshals object to byte array.
T Unmarshal< T > (byte[] data)
 Unmarshalls object from byte array.

Detailed Description


Member Function Documentation

byte [] GridGain.Client.Impl.Marshaller.IGridClientMarshaller.Marshal ( Object  val  ) 
Parameters:
val Object to marshal.
Returns:
Byte array.
Exceptions:
System.IO.IOException If marshalling failed.

Implemented in GridGain.Client.Impl.Marshaller.GridClientProtobufMarshaller.

T GridGain.Client.Impl.Marshaller.IGridClientMarshaller.Unmarshal< T > ( byte[]  data  ) 
Parameters:
data Byte array.
Returns:
Unmarshalled object.
Exceptions:
System.IO.IOException If unmarshalling failed.

Implemented in GridGain.Client.Impl.Marshaller.GridClientProtobufMarshaller.