Class DefaultSerDes<T>
- Namespace
- MASES.KNet.Serialization
- Assembly
- MASES.KNet.dll
Default implementation of ISerDesSelector<T>
public class DefaultSerDes<T> : ISerDesSelector<T>, ISerDesSelector
Type Parameters
T
- Inheritance
-
DefaultSerDes<T>
- Implements
- Inherited Members
Properties
ByteArraySerDes
Returns the generic Type implementing ISerDes<T, TJVMT> based on byte array data exchange
public static Type ByteArraySerDes { get; }
Property Value
ByteBufferSerDes
Returns the generic Type implementing ISerDes<T, TJVMT> based on ByteBuffer data exchange
public static Type ByteBufferSerDes { get; }
Property Value
Remarks
Returns null if ByteBuffer data exchange is not supported
SelectorTypeName
Returns the name of the Type implementing ISerDesSelector
public static string SelectorTypeName { get; }
Property Value
Methods
NewByteArraySerDes()
Returns an instance of ByteArraySerDes
public static ISerDesRaw<T> NewByteArraySerDes()
Returns
- ISerDesRaw<T>
The ISerDesRaw<T> of a new instance of ByteArraySerDes based on
T
NewByteBufferSerDes()
Returns an instance of ByteBufferSerDes
public static ISerDesBuffered<T> NewByteBufferSerDes()
Returns
- ISerDesBuffered<T>
The ISerDesBuffered<T> of a new instance of ByteBufferSerDes based on
T
NewInstance()
Returns a new instance of DefaultSerDes<T>
public static ISerDesSelector<T> NewInstance()
Returns
NewSerDes<TJVM>()
Returns an instance of ISerDes<T, TJVMT>
public static ISerDes<T, TJVM> NewSerDes<TJVM>()
Returns
- ISerDes<T, TJVM>
The ISerDes<T, TJVMT> of a new instance of ByteArraySerDes or ByteBufferSerDes based on
TJVM
Type Parameters
TJVM
The JVM type to use for
T