Ejemplo n.º 1
0
 internal HandlerRegistry(ObjectContainerBase container, byte stringEncoding, GenericReflector
                          reflector)
 {
     // this is the master container and not valid
     // for TransportObjectContainer
     _handlerVersions = new HandlerVersionRegistry(this);
     _stringIO        = BuiltInStringEncoding.StringIoForEncoding(stringEncoding, container.ConfigImpl
                                                                  .StringEncoding());
     _container           = container;
     container._handlers  = this;
     _reflector           = reflector;
     _diagnosticProcessor = container.ConfigImpl.DiagnosticProcessor();
     InitClassReflectors(reflector);
     _indexes          = new SharedIndexedFields();
     _virtualFields[0] = _indexes._version;
     _virtualFields[1] = _indexes._uUID;
     _virtualFields[2] = _indexes._commitTimestamp;
     RegisterBuiltinHandlers();
     RegisterPlatformTypes();
     InitArrayHandlers();
     Platform4.RegisterPlatformHandlers(container);
 }
Ejemplo n.º 2
0
		internal HandlerRegistry(ObjectContainerBase container, byte stringEncoding, GenericReflector
			 reflector)
		{
			// this is the master container and not valid
			// for TransportObjectContainer
			_handlerVersions = new HandlerVersionRegistry(this);
			_stringIO = BuiltInStringEncoding.StringIoForEncoding(stringEncoding, container.ConfigImpl
				.StringEncoding());
			_container = container;
			container._handlers = this;
			_reflector = reflector;
			_diagnosticProcessor = container.ConfigImpl.DiagnosticProcessor();
			InitClassReflectors(reflector);
			_indexes = new SharedIndexedFields();
			_virtualFields[0] = _indexes._version;
			_virtualFields[1] = _indexes._uUID;
			_virtualFields[2] = _indexes._commitTimestamp;
			RegisterBuiltinHandlers();
			RegisterPlatformTypes();
			InitArrayHandlers();
			Platform4.RegisterPlatformHandlers(container);
		}