Click or drag to resize
Serializable Class

Note: This API is now obsolete.

This class wraps the native C++ gemfire::Serializable objects as managed IGFSerializable objects.
Inheritance Hierarchy

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public class Serializable : [T:GemStone.GemFire.Cache.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 memberRegisterType
Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.
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