|
Apache Geode Native .NET Reference 1.15.0
|
Registry for custom serializable types, both PDXSerializable and DataSerializable. More...
#include <TypeRegistry.hpp>
Public Member Functions | |
| void | RegisterPdxType (PdxTypeFactoryMethod^ creationMethod) |
| Register an instance factory method for a given type. More... | |
| void | RegisterType (TypeFactoryMethod^ creationMethod, int32_t id) |
| Register an instance factory method for a given type. More... | |
Properties | |
| IPdxTypeMapper^ | PdxTypeMapper [get, set] |
| Register an PdxTypeMapper to map the local types to pdx types More... | |
Registry for custom serializable types, both PDXSerializable and DataSerializable.
| void Apache::Geode::Client::TypeRegistry::RegisterPdxType | ( | PdxTypeFactoryMethod^ | creationMethod | ) |
Register an instance factory method for a given type.
This should be used when registering types that implement IPdxSerializable.
| creationMethod | the creation function to register |
| IllegalArgumentException | if the method is null |
| void Apache::Geode::Client::TypeRegistry::RegisterType | ( | TypeFactoryMethod^ | creationMethod, |
| int32_t | id | ||
| ) |
Register an instance factory method for a given type.
This should be used when registering types that implement ISerializable.
| creationMethod | the creation function to register |
| IllegalArgumentException | if the method is null |
| IllegalStateException | if the typeId has already been registered, or there is an error in registering the type; check Utils::LastError for more information in the latter case. |
|
getset |
Register an PdxTypeMapper to map the local types to pdx types