Esempio n. 1
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            id   = reader.ReadObject() as string;
            name = reader.ReadObject() as string;

            attributesTable = reader.ReadObject() as Hashtable;
        }
Esempio n. 2
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     enabled          = reader.ReadBoolean();
     domainController = reader.ReadObject() as string;
     users            = reader.ReadObject() as User[];
     ldapPort         = reader.ReadObject() as string;
 }
Esempio n. 3
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _privateIp   = reader.ReadObject() as string;
     _privatePort = reader.ReadInt32();
     _publicIP    = reader.ReadObject() as string;
     _publicPort  = reader.ReadInt32();
 }
Esempio n. 4
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     opTimeout                 = reader.ReadInt32();
     statsRepInterval          = reader.ReadInt32();
     this._replicationStrategy = reader.ReadObject() as ReplicationStrategy;
     channel = reader.ReadObject() as Channel;
 }
Esempio n. 5
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     name      = reader.ReadObject() as string;
     type      = reader.ReadObject() as string;
     order     = reader.ReadObject() as string;
     _mappedTo = reader.ReadObject() as string;
 }
Esempio n. 6
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _slaveId            = (string)reader.ReadObject();
     _count              = reader.ReadInt64();
     _item               = reader.ReadObject();
     _registeredClientId = (string)reader.ReadObject();
 }
Esempio n. 7
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _activities = (ArrayList)reader.ReadObject();
     _startTime  = reader.ReadDateTime();
     _endTime    = reader.ReadDateTime();
     _thread     = (Thread)reader.ReadObject();
 }
Esempio n. 8
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _serverName = reader.ReadObject() as string;



            _serverPriority = (short)reader.ReadObject();
        }
Esempio n. 9
0
 void ICompactSerializable.Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _aggregateFunctionResult = (DictionaryEntry)reader.ReadObject();
     _searchKeysResult        = reader.ReadObject() as ArrayList;
     _searchEntriesResult     = reader.ReadObject() as Hashtable;
     _queryType             = (QueryType)reader.ReadInt32();
     _aggregateFunctionType = (AggregateFunctionType)reader.ReadInt32();
 }
Esempio n. 10
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     mode         = reader.ReadObject() as string;
     throttling   = reader.ReadObject() as string;
     batchConfig  = reader.ReadObject() as BatchConfig;
     eviction     = reader.ReadObject() as string;
     requeueLimit = reader.ReadObject() as string;
 }
Esempio n. 11
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _processID       = reader.ReadObject() as string;
     _bytesSent       = reader.ReadSingle();
     _bytesReceived   = reader.ReadSingle();
     _serverIPAddress = reader.ReadObject() as string;
     base.Deserialize(reader);
 }
Esempio n. 12
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     id                 = reader.ReadObject() as string;
     name               = reader.ReadObject() as string;
     assembly           = reader.ReadObject() as string;
     type               = reader.ReadObject() as string;
     PortableAttributes = reader.ReadObject() as PortableAttribute[];
 }
Esempio n. 13
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _instanceId    = reader.ReadInt64();
     _timeGenerated = reader.ReadDateTime();
     _source        = reader.ReadObject() as string;
     _message       = reader.ReadObject() as string;
     _node          = reader.ReadObject() as string;
     _type          = (EventLogEntryType)reader.ReadInt32();
 }
Esempio n. 14
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     this.cacheSettings   = reader.ReadObject() as CacheServerConfigSetting;
     this.cacheDeployment = reader.ReadObject() as CacheDeployment;
     this.configID        = reader.ReadDouble();
     cacheIsRunning       = reader.ReadBoolean();
     cacheIsRegistered    = reader.ReadBoolean();
     licenseIsExpired     = reader.ReadBoolean();
 }
Esempio n. 15
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _columns = reader.ReadObject() as ColumnCollection;
     _objects = new ClusteredArray <object>(_columns.Count);
     for (int i = 0; i < _objects.Length; i++)
     {
         _objects[i] = reader.ReadObject();
     }
 }
Esempio n. 16
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     id              = reader.ReadObject() as string;
     name            = reader.ReadObject() as string;
     portable        = reader.ReadBoolean();
     portableClasses = reader.ReadObject() as PortableClass[];
     PortableClasses = reader.ReadObject() as PortableClass[];
     attrbiuteList   = reader.ReadObject() as AttributeListUnion;
 }
Esempio n. 17
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _cacheId         = reader.ReadObject() as string;
     _topology        = (CacheTopology)reader.ReadInt32();
     _running         = reader.ReadBoolean();
     _dataCapacity    = reader.ReadInt64();
     _cachePropString = reader.ReadObject() as string;
     _partId          = reader.ReadObject() as string;
 }
Esempio n. 18
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _registeredName = reader.ReadObject() as string;
            _companyName    = reader.ReadObject() as string;

            _email     = reader.ReadObject() as string;
            _firstName = reader.ReadObject() as string;
            _lastName  = reader.ReadObject() as string;
        }
Esempio n. 19
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     providerName      = reader.ReadObject() as string;
     assemblyName      = reader.ReadObject() as string;
     className         = reader.ReadObject() as string;
     _fullProviderName = reader.ReadObject() as string;
     isDefaultProvider = reader.ReadBoolean();
     asyncMode         = reader.ReadBoolean();
     parameters        = reader.ReadObject() as Parameter[];
 }
Esempio n. 20
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            defaultPriority = reader.ReadObject() as string;
            object obj = reader.ReadObject();

            if (obj != null)
            {
                evictionRatio = (decimal)obj;
            }
            policy = reader.ReadObject() as string;
        }
Esempio n. 21
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _columns = reader.ReadObject() as ColumnCollection;

            _rows = new HashVector();
            int rowCount = reader.ReadInt32();

            for (int i = 0; i < rowCount; i++)
            {
                _rows.Add(reader.ReadInt32(), reader.ReadObject() as RecordRow);
            }
        }
Esempio n. 22
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _nodeConfig = reader.ReadObject() as NodeConfiguration;

            //Needs to be initialized at ever read.
            _cacheConfigsMap = new Dictionary <string, CacheConfiguration>();
            int lenght = reader.ReadInt32();

            for (int i = 0; i < lenght; i++)
            {
                _cacheConfigsMap.Add(reader.ReadObject() as string, reader.ReadObject() as CacheConfiguration);
            }
            _bindIp = reader.ReadObject() as string;
        }
Esempio n. 23
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _name         = reader.ReadObject() as string;
     _minThreshold = reader.ReadInt64();
     _maxThreshold = reader.ReadInt64();
     _duration     = reader.ReadInt32();
 }
Esempio n. 24
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     opTimeout        = reader.ReadInt32();
     statsRepInterval = reader.ReadInt32();
     useHeartBeat     = reader.ReadBoolean();
     channel          = reader.ReadObject() as Channel;
 }
Esempio n. 25
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _enabled = reader.ReadBoolean();
     _eventLoggingInterval = reader.ReadInt64();
     _cacheLoggingInterval = reader.ReadInt64();
     _resource             = reader.ReadObject() as Hashtable;
 }
Esempio n. 26
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _info  = reader.ReadObject() as string;
     Status = (CacheStatus)reader.ReadInt32();
     IsCoordinatorInternal = reader.ReadBoolean();
     configID = reader.ReadDouble();
 }
Esempio n. 27
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _id                    = reader.ReadString();
     _chunkId               = reader.ReadInt32();
     _isDisposable          = reader.ReadBoolean();
     _nodeIpAddress         = reader.ReadObject() as Address;
     _isSocketServerDispose = reader.ReadBoolean();
 }
Esempio n. 28
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     _isRepica       = reader.ReadBoolean();
     _inProcInstance = reader.ReadBoolean();
     _clientPort     = reader.ReadInt32();
     _nodeAt         = reader.ReadObject() as string;
     base.Deserialize(reader);
 }
Esempio n. 29
0
        public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
        {
            _cacheId           = reader.ReadObject() as string;
            _loadBalance       = reader.ReadBoolean();
            _isRegisteredLocal = reader.ReadBoolean();

            //Needs to be intinalized at every read
            _serversPriorityList = new Dictionary <int, CacheServer>();
            int lenght = reader.ReadInt32();

            for (int i = 0; i < lenght; i++)
            {
                _serversPriorityList.Add(reader.ReadInt32(), reader.ReadObject() as CacheServer);
            }

            _serverName           = reader.ReadObject() as string;
            _bindIp               = reader.ReadObject() as string;
            _serverRuntimeContext = reader.ReadObject() as string == "1" ? RtContextValue.JVCACHE : RtContextValue.NCACHE;

            if (reader.ReadBoolean())
            {
                _serverMapping = reader.ReadObject() as ServerMapping;
            }
            _enableClientLogs       = reader.ReadBoolean();
            _logLevel               = reader.ReadObject() as string;
            _enableServerPriorities = reader.ReadBoolean();
        }
Esempio n. 30
0
 public void Deserialize(Runtime.Serialization.IO.CompactReader reader)
 {
     enabled       = reader.ReadBoolean();
     traceErrors   = reader.ReadBoolean();
     traceWarnings = reader.ReadBoolean();
     traceNotices  = reader.ReadBoolean();
     traceDebug    = reader.ReadBoolean();
     location      = (string)reader.ReadObject();
 }