This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Wake.Remote.Impl.MultiEncoder< T > Class Template Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Wake.Remote.Impl.MultiEncoder< T > Class Template Reference

Encoder using the WakeTuple protocol buffer (class name and bytes) More...

Inherits Org.Apache.REEF.Wake.Remote.IEncoder< T >.

Public Member Functions

 MultiEncoder ()
 Constructs an encoder that encodes an object to bytes based on the class name More...
 
void Register< U > (IEncoder< U > encoder)
 
void Register< U > (IEncoder< U > encoder, string name)
 
byte[] Encode (T obj)
 Encodes an object to a byte array More...
 

Detailed Description

Encoder using the WakeTuple protocol buffer (class name and bytes)

Constructor & Destructor Documentation

Constructs an encoder that encodes an object to bytes based on the class name

Member Function Documentation

byte [] Org.Apache.REEF.Wake.Remote.Impl.MultiEncoder< T >.Encode ( obj)
inline

Encodes an object to a byte array

Parameters
obj

Implements Org.Apache.REEF.Wake.Remote.IEncoder< T >.

void Org.Apache.REEF.Wake.Remote.Impl.MultiEncoder< T >.Register< U > ( IEncoder< U >  encoder)
inline
Type Constraints
U :T 
void Org.Apache.REEF.Wake.Remote.Impl.MultiEncoder< T >.Register< U > ( IEncoder< U >  encoder,
string  name 
)
inline
Type Constraints
U :T 

The documentation for this class was generated from the following file: