예제 #1
0
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     base.Deserialize(reader);
     _conStr   = reader.ReadString();
     _queryStr = reader.ReadString();
     CacheKey  = reader.ReadObject() as string;
 }
예제 #2
0
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     base.Deserialize(reader);
     CacheKey          = reader.ReadString();
     _dbCacheKey       = reader.ReadString();
     _cacheName        = reader.ReadString();
     _connectionString = reader.ReadString();
 }
예제 #3
0
 /// <summary>
 /// Deserializa os dados na instancia.
 /// </summary>
 /// <param name="reader"></param>
 public void Deserialize(CompactReader reader)
 {
     Id                    = reader.ReadString();
     ChunkId               = reader.ReadInt32();
     IsDisposable          = reader.ReadBoolean();
     NodeIpAddress         = reader.ReadString();
     IsSocketServerDispose = reader.ReadBoolean();
 }
예제 #4
0
 public void Deserialize(CompactReader reader)
 {
     _filePath     = reader.ReadString();
     _databaseId   = reader.ReadString();
     _providerType = (ProviderType)reader.ReadInt32();
     //_currentFileSize = reader.ReadInt64();
     //_provider = (IPersistenceProvider<TKey, TValue>)reader.ReadObject();
 }
예제 #5
0
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     base.Deserialize(reader);
     _conStr    = reader.ReadString();
     _queryStr  = reader.ReadString();
     CacheKey   = reader.ReadObject() as string;
     _timeOut   = (int)reader.ReadObject();
     _cmdParams = (IDictionary)reader.ReadObject();
 }
 public void Deserialize(CompactReader reader)
 {
     _key          = reader.ReadObject();
     _entry        = reader.ReadObject() as CacheEntry;
     _opCode       = (OpCode)reader.ReadInt32();
     _source       = reader.ReadString();
     _taskId       = reader.ReadString();
     _state        = (WriteBehindAsyncProcessor.TaskState)reader.ReadByte();
     _providerName = reader.ReadString();
 }
예제 #7
0
        public void Deserialize(CompactReader reader)
        {
            AppName     = reader.ReadString();
            ClientID    = reader.ReadString();
            MachineName = reader.ReadString();
            ProcessID   = reader.ReadInt32();
            string address = reader.ReadObject() as string;

            if (address != null)
            {
                IPAddress = IPAddress.Parse(address);
            }
            Status = (ConnectivityStatus)reader.ReadInt32();
        }
예제 #8
0
 /// <summary>
 /// Deserializa os dados na instancia.
 /// </summary>
 /// <param name="reader"></param>
 public virtual void Deserialize(CompactReader reader)
 {
     _aggregateFunctionResult = (DictionaryEntry)reader.ReadObject();
     _searchKeysResult        = reader.ReadObject() as ArrayList;
     _searchEntriesResult     = reader.ReadObject() as Hashtable;
     _queryType             = (QueryType)reader.ReadInt32();
     _aggregateFunctionType = (AggregateFunctionType)reader.ReadInt32();
     _cqId = reader.ReadString();
 }
예제 #9
0
 public void Deserialize(CompactReader reader)
 {
     Name      = reader.ReadString();
     Id        = reader.ReadUInt32();
     GuidData  = reader.ReadGuid();
     ByteData  = reader.ReadBytes(4 * 1024);
     FloatData = reader.ReadSingle();;
     Time      = reader.ReadDateTime();
     Table     = (Hashtable)reader.ReadObject();
 }
예제 #10
0
 public void  Deserialize(CompactReader reader)
 {
     _type                    = (SqlDbType)reader.ReadObject();
     _direction               = (ParameterDirection)reader.ReadObject();
     _sourceVersion           = (DataRowVersion)reader.ReadObject();
     _compareInfo             = (SqlCompareOptions)reader.ReadObject();
     _value                   = reader.ReadObject();
     _isNullable              = reader.ReadBoolean();
     _localeId                = reader.ReadInt32();
     _offset                  = reader.ReadInt32();
     _precision               = reader.ReadByte();
     _scale                   = reader.ReadByte();
     _size                    = reader.ReadInt32();
     _sourceColumn            = reader.ReadString();
     _sourceColumnNullMapping = reader.ReadBoolean();
     _sqlValue                = reader.ReadObject();
     _typeName                = reader.ReadString();
     _udtTypeName             = reader.ReadString();
 }
예제 #11
0
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     type           = reader.ReadByte();
     view           = View.ReadView(reader);
     mbr            = Address.ReadAddress(reader);
     join_rsp       = (JoinRsp)reader.ReadObject();
     digest         = (Digest)reader.ReadObject();
     merge_id       = reader.ReadObject();
     merge_rejected = reader.ReadBoolean();
     subGroup_name  = reader.ReadString();
     nodeList       = reader.ReadObject() as ArrayList;
     arg            = reader.ReadObject();
     gms_id         = reader.ReadObject() as string;
 }
예제 #12
0
 /// <summary>
 /// Desserializa os dados na instancia.
 /// </summary>
 /// <param name="reader"></param>
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     base.Deserialize(reader);
     _group    = reader.ReadString();
     _subGroup = reader.ReadString();
 }
예제 #13
0
		public void Deserialize(CompactReader reader)
		{
			group_addr = reader.ReadString();
		}
예제 #14
0
 public void Deserialize(CompactReader reader)
 {
     _cacheId = reader.ReadString();
     _server  = reader.ReadString();
     _port    = reader.ReadInt32();
 }
예제 #15
0
 public void Deserialize(CompactReader reader)
 {
     group_addr = reader.ReadString();
 }
예제 #16
0
 public void Deserialize(CompactReader reader)
 {
     name = reader.ReadString();
 }
예제 #17
0
파일: GMS.cs 프로젝트: javithalion/NCache
 void ICompactSerializable.Deserialize(CompactReader reader)
 {
     type = reader.ReadByte();
     view = View.ReadView(reader);
     mbr = Address.ReadAddress(reader);
     join_rsp = (JoinRsp)reader.ReadObject();
     digest = (Digest)reader.ReadObject();
     merge_id = reader.ReadObject();
     merge_rejected = reader.ReadBoolean();
     subGroup_name = reader.ReadString();
     nodeList = reader.ReadObject() as ArrayList;
     arg = reader.ReadObject();
     isStartedAsMirror = reader.ReadBoolean();
     gms_id = reader.ReadObject() as string;
 }