Click or drag to resize
Serializable Class
This class wraps the native C++ gemfire::Serializable objects as managed IGFSerializable objects.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Serializable>]
    GemStone.GemFire.Cache.GenericSerializable
      GemStone.GemFire.Cache.GenericCacheableKey
      GemStone.GemFire.Cache.GenericStruct

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public class Serializable : [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::Serializable>], 
	IGFSerializable

The Serializable type exposes the following members.

Properties
  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
Public propertyObjectSize
return the size of this object in bytes
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromData
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRegisterPdxSerializer
Set the PDX serializer for the cache. If this serializer is set, it will be consulted to see if it can serialize any domain classes which are added to the cache in portable data exchange format.
Public methodStatic memberRegisterPdxType
Register an instance factory method for a given type. This should be used when registering types that implement IPdxSerializable.
Public methodStatic memberRegisterTypeGeneric
Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.
Public methodStatic memberSetPdxTypeMapper
Register an PdxTypeMapper to map the local types to pdx types
Public methodToData
Serializes this native (C++) object.
Public methodToString
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic member(Boolean to Serializable)
Implicit conversion operator from a boolean to a Serializable.
Public operatorStatic member(Boolean to Serializable)
Implicit conversion operator from an boolean array to a Serializable.
Public operatorStatic member(Byte to Serializable)
Implicit conversion operator from a byte to a Serializable.
Public operatorStatic member(Byte to Serializable)
Implicit conversion operator from an array of bytes to a Serializable.
Public operatorStatic member(Char to Serializable)
Implicit conversion operator from a character to a Serializable.
Public operatorStatic member(Char to Serializable)
Implicit conversion operator from a character array to a Serializable.
Public operatorStatic member(Double to Serializable)
Implicit conversion operator from a double to a Serializable.
Public operatorStatic member(Double to Serializable)
Implicit conversion operator from a double array to a Serializable.
Public operatorStatic member(Int16 to Serializable)
Implicit conversion operator from a 16-bit integer to a Serializable.
Public operatorStatic member(Int16 to Serializable)
Implicit conversion operator from a 16-bit integer array to a Serializable.
Public operatorStatic member(Int32 to Serializable)
Implicit conversion operator from a 32-bit integer to a Serializable.
Public operatorStatic member(Int32 to Serializable)
Implicit conversion operator from a 32-bit integer array to a Serializable.
Public operatorStatic member(Int64 to Serializable)
Implicit conversion operator from a 64-bit integer to a Serializable.
Public operatorStatic member(Int64 to Serializable)
Implicit conversion operator from a 64-bit integer array to a Serializable.
Public operatorStatic member(Single to Serializable)
Implicit conversion operator from a float to a Serializable.
Public operatorStatic member(Single to Serializable)
Implicit conversion operator from a float array to a Serializable.
Public operatorStatic member(String to Serializable)
Implicit conversion operator from a string to a Serializable.
Public operatorStatic member(String to Serializable)
Implicit conversion operator from a string array to a Serializable.
Top
See Also