Classes | Functions
GridGain.Portable Namespace Reference

GridGain Portable Object API. More...

Classes

interface  IPortableBuilder
 Portable object builder. Provides ability to build portable objects dynamically without having class definitions. More...
 
interface  IPortableIdMapper
 Maps class name and class field names to integer identifiers. More...
 
interface  IPortableMarshalAware
 Interface to implement custom portable serialization logic. More...
 
interface  IPortableMetadata
 Portable type metadata. More...
 
interface  IPortableNameMapper
 Maps type and field names to different names. More...
 
interface  IPortableObject
 Wrapper for serialized portable objects. More...
 
interface  IPortableRawReader
 Raw reader for portable objects. More...
 
interface  IPortableRawWriter
 Raw writer for portable objects. More...
 
interface  IPortableReader
 Reader for portable objects. More...
 
interface  IPortables
 Defines portable objects functionality. With portable objects you are able to:

  • Seamlessly interoperate between Java, .NET, and C++.
  • Make any object portable with zero code change to your existing code.
  • Nest portable objects within each other.
  • Automatically handle circular or null references.
  • Automatically convert collections and maps between Java, .NET, and C++.
  • Optionally avoid deserialization of objects on the server side.
  • Avoid need to have concrete class definitions on the server side.
  • Dynamically change structure of the classes without having to restart the cluster.
  • Index into portable objects for querying purposes.
More...
 
interface  IPortableSerializer
 Portable serializer. More...
 
interface  IPortableWriter
 Writer for portable objects. More...
 
class  PortableConfiguration
 Portable type configuration. More...
 
class  PortableException
 Indicates an error during portable marshalling. More...
 
class  PortableTypeConfiguration
 Portable type configuration. More...
 
class  PortableTypeNames
 Portable type name constants. More...
 

Functions

delegate ICollection PortableCollectionFactory (int size)
 Delegate for collection creation. More...
 
delegate void PortableCollectionAdder (ICollection col, object elem)
 Delegate for adding element to collection. More...
 
delegate ICollection< T > PortableGenericCollectionFactory< T > (int size)
 Delegate for generic collection creation. More...
 
delegate IDictionary PortableDictionaryFactory (int size)
 Delegate for dictionary creation. More...
 
delegate IDictionary< K, V > PortableGenericDictionaryFactory< K, V > (int size)
 Delegate for generic collection creation. More...
 

Detailed Description

Function Documentation

delegate void GridGain.Portable.PortableCollectionAdder ( ICollection  col,
object  elem 
)
Parameters
colCollection.
elemElement to add.
delegate ICollection GridGain.Portable.PortableCollectionFactory ( int  size)
Parameters
sizeCollection size.
Returns
Collection.
delegate IDictionary GridGain.Portable.PortableDictionaryFactory ( int  size)
Parameters
sizeDictionary size.
Returns
Dictionary.
delegate ICollection<T> GridGain.Portable.PortableGenericCollectionFactory< T > ( int  size)
Parameters
sizeCollection size.
Returns
Collection.
delegate IDictionary<K, V> GridGain.Portable.PortableGenericDictionaryFactory< K, V > ( int  size)
Parameters
sizeCollection size.
Returns
Collection.