public static DataAffinity ReadDataAffinity(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } DataAffinity newAffinity = new DataAffinity(); newAffinity.Deserialize(reader); return(newAffinity); }
public void Deserialize(CompactReader reader) { _key = reader.ReadObject(); _value = reader.ReadObject(); _expiration = reader.ReadInt64(); _dependency = ExpirationHint.ReadExpHint(reader);//reader.ReadObject(); _options = reader.ReadByte(); _itemRemovedCallback = reader.ReadObject(); _group = (string)reader.ReadObject(); _subgroup = (string)reader.ReadObject(); _queryInfo = (Hashtable)reader.ReadObject(); _keysDependingOnMe = (ArrayList)reader.ReadObject(); }
public static HDR ReadTotalHeader(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } HDR newHdr = new HDR(); newHdr.Deserialize(reader); return(newHdr); }
public static PingHeader ReadPingHeader(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } PingHeader newHdr = new PingHeader(); newHdr.Deserialize(reader); return(newHdr); }
public static RequestCorrelatorHDR ReadCorHeader(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } RequestCorrelatorHDR newHdr = new RequestCorrelatorHDR(); newHdr.Deserialize(reader); return(newHdr); }
public static CacheStatistics ReadCacheStatistics(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } CacheStatistics newStats = new CacheStatistics(); newStats.Deserialize(reader); return(newStats); }
public static ViewId ReadViewId(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } ViewId newId = new ViewId(); newId.Deserialize(reader); return(newId); }
public static View ReadView(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } View newView = new View(); newView.Deserialize(reader); return(newView); }
public static Address ReadAddress(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } Address newAddr = new Address(); newAddr.Deserialize(reader); return(newAddr); }
public static NodeInfo ReadNodeInfo(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) { return(null); } NodeInfo newInfo = new NodeInfo(); newInfo.Deserialize(reader); return(newInfo); }
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; }
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(); }
void ICompactSerializable.Deserialize(CompactReader reader) { dest_addr = (Address)reader.ReadObject(); dest_addrs = (ArrayList)reader.ReadObject(); src_addr = (Address)reader.ReadObject(); prio = (Priority)Enum.ToObject(typeof(Priority), reader.ReadInt16()); buf = (byte[])reader.ReadObject(); headers = (Hashtable)reader.ReadObject(); handledAsynchronously = reader.ReadBoolean(); responseExpected = reader.ReadBoolean(); _type = reader.ReadByte(); _stackTrace = reader.ReadObject() as Hashtable; offset = 0; length = (buf != null) ? buf.Length : 0; }
public void Deserialize(CompactReader reader) { type = reader.ReadByte(); id = reader.ReadInt64(); rsp_expected = reader.ReadBoolean(); reqStatus = reader.ReadObject() as RequestStatus; status_reqId = reader.ReadInt64(); //name = reader.ReadString(); //call_stack = (System.Collections.ArrayList)reader.ReadObject(); //byte[] arr = (byte[])reader.ReadObject(); //dest_mbrs = arr != null ?(System.Collections.IList)CompactBinaryFormatter.FromByteBuffer(arr, null): null; //dest_mbrs = (System.Collections.IList)reader.ReadObject(); dest_mbrs = (System.Collections.ArrayList)reader.ReadObject(); doProcess = reader.ReadBoolean(); whomToReply = (Address)reader.ReadObject(); expectResponseFrom = (Address)reader.ReadObject(); }
/// <summary> /// Deserializa os dados na instancia. /// </summary> /// <param name="reader"></param> public void Deserialize(CompactReader reader) { _lockMode = (LockMode)reader.ReadByte(); string str = reader.ReadObject() as string; if (!string.IsNullOrEmpty(str)) { _writerLock = new LockHandle(str); } int num = reader.ReadInt32(); _readerLocks = new List <LockHandle>(); for (int i = 0; i < num; i++) { _readerLocks.Add(new LockHandle(reader.ReadObject() as string)); } }
void ICompactSerializable.Deserialize(CompactReader reader) { lock (this) { Value = reader.ReadObject(); _bitset = new BitSet(reader.ReadByte()); _evh = EvictionHint.ReadEvcHint(reader); _exh = ExpirationHint.ReadExpHint(reader); _queryInfo = (Hashtable)reader.ReadObject(); _size = reader.ReadInt64(); lockMetaInfo = reader.ReadObject() as LockMetaInfo; _creationTime = reader.ReadDateTime(); _lastModifiedTime = reader.ReadDateTime(); _priorityValue = (CacheItemPriority)reader.ReadInt32(); _type = reader.ReadObject() as string; } }
void ICompactSerializable.Deserialize(CompactReader reader) { dest_addr = (Address)reader.ReadObject(); dest_addrs = (ArrayList)reader.ReadObject(); src_addr = (Address)reader.ReadObject(); prio = (Priority)Enum.ToObject(typeof(Priority), reader.ReadInt16()); Boolean isStream = reader.ReadBoolean(); if (isStream) { int len = reader.ReadInt32(); buf = reader.ReadBytes(len); } else { buf = (byte[])reader.ReadObject(); } int bufferCount = reader.ReadInt32(); if (bufferCount > 0) { buffers = new ClusteredArrayList(bufferCount); for (int i = 0; i < bufferCount; i++) { buffers.Add(reader.ReadBytes(reader.ReadInt32())); } } headers = (Hashtable)reader.ReadObject(); handledAsynchronously = reader.ReadBoolean(); responseExpected = reader.ReadBoolean(); _type = reader.ReadByte(); _stackTrace = reader.ReadObject() as Hashtable; offset = 0; length = (buf != null) ? buf.Length : 0; }
public void Deserialize(CompactReader reader) { _connectStatus = reader.ReadByte(); _id = reader.ReadInt32(); }
public void Deserialize(CompactReader reader) { _reqId = reader.ReadInt32(); _status = reader.ReadByte(); _creationTime = (DateTime?)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { type = reader.ReadByte(); group_addr = (string)reader.ReadObject(); arg = reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _type = reader.ReadByte(); }
public void Deserialize(CompactReader reader) { type = reader.ReadByte(); localSeqID = reader.ReadInt64(); seqID = reader.ReadInt64(); viewId = reader.ReadInt32(); }
public void Deserialize(CompactReader reader) { _reqId = reader.ReadInt32(); _status = reader.ReadByte(); _creationTime = (DateTime?)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _subscriptionId = reader.ReadObject() as string; _clientId = reader.ReadObject() as string; _type = (SubscriptionType)reader.ReadByte(); }
public override void Deserialize(CompactReader reader) { base.Deserialize(reader); _dataFilter = (EventDataFilter)reader.ReadByte(); }
public static NodeInfo ReadNodeInfo(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; NodeInfo newInfo = new NodeInfo(); newInfo.Deserialize(reader); return newInfo; }
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(); }
public void Deserialize(CompactReader reader) { type = reader.ReadByte(); id = reader.ReadInt64(); rsp_expected = reader.ReadBoolean(); reqStatus = reader.ReadObject() as RequestStatus; status_reqId = reader.ReadInt64(); dest_mbrs = (System.Collections.ArrayList)reader.ReadObject(); doProcess = reader.ReadBoolean(); whomToReply = (Address)reader.ReadObject(); expectResponseFrom = (Address)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _stateTransferStatus = (StateTransferStatus)reader.ReadByte(); _keyList = reader.ReadObject() as ArrayList; _syncRoot = new object(); }
public void Deserialize(CompactReader reader) { theClient = (string)reader.ReadObject(); theCallback = reader.ReadObject(); notifyOnItemExpiration = reader.ReadBoolean(); _dataFilter = (EventDataFilter)reader.ReadByte(); }
public void Deserialize(CompactReader reader) { _result = (Result)reader.ReadByte(); }
public void Deserialize(CompactReader reader) { Value = reader.ReadObject(); Flag = reader.ReadObject() as BitSet; Type = (EntryType)reader.ReadByte(); }
void ICompactSerializable.Deserialize(CompactReader reader) { _opcode = reader.ReadByte(); _excludeSelf = reader.ReadBoolean(); _operand = reader.ReadObject(); _syncKey = reader.ReadObject(); _responseEpected = reader.ReadBoolean(); }
public void Deserialize(CompactReader reader) { type = reader.ReadByte(); group_addr = (string)reader.ReadObject(); arg = reader.ReadObject(); }
void ICompactSerializable.Deserialize(CompactReader reader) { _bucketId = reader.ReadInt32(); _tempAddress = (Address)reader.ReadObject(); _permanentAddress = (Address)reader.ReadObject(); byte status = reader.ReadByte(); _stateTxfrLatch = new Latch(status); }
public static ViewId ReadViewId(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; ViewId newId = new ViewId(); newId.Deserialize(reader); return newId; }
public static HDR ReadTotalHeader(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; HDR newHdr = new HDR(); newHdr.Deserialize(reader); return newHdr; }
public static Address ReadAddress(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; Address newAddr = new Address(); newAddr.Deserialize(reader); return newAddr; }
public void Deserialize(CompactReader reader) { _result = (Result)reader.ReadByte(); }
public static CacheStatistics ReadCacheStatistics(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; CacheStatistics newStats = new CacheStatistics(); newStats.Deserialize(reader); return newStats; }
public void Deserialize(CompactReader reader) { _subscriptionName = reader.ReadObject() as string; _subscriptionPolicy = (SubscriptionPolicyType)reader.ReadByte(); }
public static View ReadView(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; View newView = new View(); newView.Deserialize(reader); return newView; }
void ICompactSerializable.Deserialize(CompactReader reader) { dest_addr = (Address) reader.ReadObject(); dest_addrs = (ArrayList)reader.ReadObject(); src_addr = (Address)reader.ReadObject(); prio = (Priority) Enum.ToObject(typeof(Priority), reader.ReadInt16()); Boolean isStream = reader.ReadBoolean(); if (isStream) { int len = reader.ReadInt32(); buf = reader.ReadBytes(len); } else { buf = (byte[])reader.ReadObject(); } headers = (Hashtable)reader.ReadObject(); handledAsynchronously = reader.ReadBoolean(); responseExpected = reader.ReadBoolean(); _type = reader.ReadByte(); _stackTrace = reader.ReadObject() as Hashtable; offset = 0; length = (buf != null) ? buf.Length : 0; }
public static DataAffinity ReadDataAffinity(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; DataAffinity newAffinity = new DataAffinity(); newAffinity.Deserialize(reader); return newAffinity; }
public void Deserialize(CompactReader reader) { _connectStatus = reader.ReadByte(); _id = reader.ReadInt32(); }
public void Deserialize(CompactReader reader) { _key = reader.ReadObject(); _value = reader.ReadObject(); _expiration = reader.ReadInt64(); _dependency = ExpirationHint.ReadExpHint(reader); _options = reader.ReadByte(); _itemRemovedCallback = reader.ReadObject(); _queryInfo = (Hashtable)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _type = reader.ReadByte(); }
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; }
void ICompactSerializable.Deserialize(CompactReader reader) { lock (this) { Value = reader.ReadObject(); _bitset = new BitSet(reader.ReadByte()); _evh = EvictionHint.ReadEvcHint(reader); _exh = ExpirationHint.ReadExpHint(reader); _queryInfo = (Hashtable)reader.ReadObject(); _size = reader.ReadInt64(); lockMetaInfo = reader.ReadObject() as LockMetaInfo; _creationTime = reader.ReadDateTime(); _lastModifiedTime = reader.ReadDateTime(); _priorityValue = (CacheItemPriority)reader.ReadInt32(); _type = reader.ReadObject() as string; } }
public void Deserialize(CompactReader reader) { _lockMode = (LockMode)reader.ReadByte(); string writerLockId = reader.ReadObject() as string; if (!string.IsNullOrEmpty(writerLockId)) _writerLock = new LockHandle(writerLockId); int readLockCount = reader.ReadInt32(); _readerLocks = new List<LockHandle>(); for (int i = 0; i < readLockCount; i++) _readerLocks.Add(new LockHandle(reader.ReadObject() as string)); }
public static PingHeader ReadPingHeader(CompactReader reader) { byte isNull = reader.ReadByte(); if (isNull == 1) return null; PingHeader newHdr = new PingHeader(); newHdr.Deserialize(reader); return newHdr; }
public void Deserialize(CompactReader reader) { _groupname = reader.ReadObject() as string; _status = new BitSet(reader.ReadByte()); _rendererPort = reader.ReadInt32(); _rendererAddress = reader.ReadObject() as IPAddress; _isStartedAsMirror = reader.ReadBoolean(); }