コード例 #1
0
ファイル: NodeInfo.cs プロジェクト: usamabintariq/NCache
 public void Deserialize(CompactReader reader)
 {
     _address           = Address.ReadAddress(reader);
     _subgroupName      = reader.ReadObject() as string;
     _stats             = CacheStatistics.ReadCacheStatistics(reader);
     _status            = new BitSet(reader.ReadByte());
     _dataAffinity      = DataAffinity.ReadDataAffinity(reader);
     _connectedClients  = (ArrayList)reader.ReadObject();
     _isInproc          = reader.ReadBoolean();
     _rendererAddress   = Address.ReadAddress(reader);
     _isStartedAsMirror = reader.ReadBoolean();
 }
コード例 #2
0
 public void Deserialize(CompactReader reader)
 {
     _address      = Address.ReadAddress(reader);
     _subgroupName = reader.ReadObject() as string;
     //_subgroupName = reader.ReadString();
     _stats                   = CacheStatistics.ReadCacheStatistics(reader);
     _status                  = new BitSet(reader.ReadByte());
     _dataAffinity            = DataAffinity.ReadDataAffinity(reader);
     _connectedClients        = (ArrayList)reader.ReadObject();
     _isInproc                = reader.ReadBoolean();
     _rendererAddress         = Address.ReadAddress(reader);
     _nodeGuid                = reader.ReadObject() as string;
     _statsReplicationCounter = reader.ReadInt32();
     this.CacheNodeStatus     = (Alachisoft.NCache.Common.Monitoring.CacheNodeStatus)reader.ReadByte();
 }