Apache REEF  0.16.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

◆ MultiEncoder()

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

Member Function Documentation

◆ Encode()

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 >.

◆ Register< U >() [1/2]

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

◆ Register< U >() [2/2]

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: