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; }
void ICompactSerializable.Deserialize(CompactReader reader) { own_addr = (Address)reader.ReadObject(); coord_addr = (Address)reader.ReadObject(); is_server = reader.ReadBoolean(); started = reader.ReadBoolean(); }
void ICompactSerializable.Deserialize(CompactReader reader) { _opcode = reader.ReadByte(); _excludeSelf = reader.ReadBoolean(); _operand = reader.ReadObject(); _syncKey = reader.ReadObject(); _responseEpected = reader.ReadBoolean(); }
/// <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(); }
/// <summary> /// Deserialize the object /// </summary> /// <param name="reader"></param> public void Deserialize(CompactReader reader) { this._lastViewId = reader.ReadInt64(); this._members = reader.ReadObject() as ArrayList; this._map = reader.ReadObject() as Hashtable; this._updateMap = reader.ReadBoolean(); this._forcefulUpdate = reader.ReadBoolean(); }
void ICompactSerializable.Deserialize(CompactReader reader) { _opcode = reader.ReadByte(); _excludeSelf = reader.ReadBoolean(); _operand = reader.ReadObject(); _syncKey = reader.ReadObject(); _responseEpected = reader.ReadBoolean(); _cancellable = reader.ReadBoolean(); _clientRequestTimeout = (TimeSpan)reader.ReadObject(); }
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) { IsErrorLogsEnabled = (reader.ReadBoolean()); IsDetailedLogsEnabled = (reader.ReadBoolean()); CacheMaxSize = (reader.ReadInt64()); CleanInterval = (reader.ReadInt64()); EvictRatio = (reader.ReadSingle()); SecurityEnabled = (reader.ReadBoolean()); SecurityDomainController = reader.ReadObject() as string; SecurityPort = reader.ReadObject() as string; SecurityUsers = reader.ReadObject() as Hashtable; CompressionEnabled = (reader.ReadBoolean()); BackingSource = reader.ReadObject() as Hashtable; }
//public Array PayLoad //{ // get { return _payLoad; } //} //public ArrayList PayLoadCompilationInfo //{ // get { return _payLoadCompilationInformation; } //} #region ICompactSerializable Members void ICompactSerializable.Deserialize(CompactReader reader) { data = (ICollection)reader.ReadObject(); transferCompleted = reader.ReadBoolean(); //_payLoadCompilationInformation = reader.ReadObject() as ArrayList; this.sendDataSize = reader.ReadInt64(); }
public void Deserialize(CompactReader reader) { _strict = (bool)reader.ReadBoolean(); _groups = (ArrayList)reader.ReadObject(); _allBindedGroups = (ArrayList)reader.ReadObject(); _unbindedGroups = (ArrayList)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _address = Address.ReadAddress(reader); _subgroupName = reader.ReadObject() as string; _stats = CacheStatistics.ReadCacheStatistics(reader); _status = reader.ReadObject() as BitSet; _dataAffinity = DataAffinity.ReadDataAffinity(reader); _connectedClients = (ArrayList)reader.ReadObject(); _isInproc = reader.ReadBoolean(); _rendererAddress = Address.ReadAddress(reader); _isStartedAsMirror = reader.ReadBoolean(); _nodeGuid = reader.ReadObject() as string; _statsReplicationCounter = reader.ReadInt32(); this.CacheNodeStatus = (Alachisoft.NCache.Common.Monitoring.CacheNodeStatus)reader.ReadByte(); _localConnectedClientsInfo = (ArrayList)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { theClient = (string)reader.ReadObject(); theCallback = reader.ReadObject(); notifyOnItemExpiration = reader.ReadBoolean(); _dataFilter = (EventDataFilter)reader.ReadByte(); }
public virtual void Deserialize(CompactReader reader) { _client = (string)reader.ReadObject(); _callback = reader.ReadObject(); _notifyOnItemExpiration = reader.ReadBoolean(); _callbackType = (CallbackType)reader.ReadObject(); }
public void Deserialize(CompactReader reader) { _messageId = reader.ReadObject() as string; _topic = reader.ReadObject() as string; _deliveryOption = (DeliveryOption)reader.ReadByte(); _notifyOnDeliveryFailure = reader.ReadBoolean(); }
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(); }
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(); }
public void Deserialize(CompactReader reader) { _messageId = reader.ReadObject() as string; TimeToLive = reader.ReadDouble(); AssigmentTime = reader.ReadObject() as DateTime?; TopicName = reader.ReadObject() as string; DeliveryOption = (DeliveryOption)reader.ReadInt32(); MessgeFailureReason = (MessgeFailureReason)reader.ReadInt32(); SubscriptionType = (SubscriptionType)reader.ReadInt32(); IsAssigned = reader.ReadBoolean(); IsNotify = reader.ReadBoolean(); AbsoluteExpiratoinTime = reader.ReadObject() as DateTime?; DeliveryFailed = reader.ReadBoolean(); EverAcknowledged = reader.ReadBoolean(); ExpirationTime = reader.ReadInt64(); _recepientList = SerializationUtility.DeserializeHashSet <string>(reader); _subscriptons = new HashSet <ISubscription>(); }
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(); }
void ICompactSerializable.Deserialize(CompactReader reader) { sender = (Address)reader.ReadObject(); merge_rejected = reader.ReadBoolean(); if (!merge_rejected) { view = (View)reader.ReadObject(); digest = (Digest)reader.ReadObject(); } }
/// <summary> /// /// </summary> /// <param name="reader"></param> /// <returns></returns> public static HashSet <T> DeserializeHashSet <T>(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { HashSet <T> dictionary = new HashSet <T>(); DeserializeHashSetInternal <T>(reader, dictionary); return(dictionary); } return(null); }
public static EventCacheEntry ReadItemInfo(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { EventCacheEntry item = new EventCacheEntry(); item.Deserialize(reader); return(item); } return(null); }
public static EventId ReadEventIdInfo(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { EventId item = new EventId(); item.Deserialize(reader); return(item); } return(null); }
public static MessageMetaData ReadMetaDataInfo(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { MessageMetaData messageMetaData = new MessageMetaData(); messageMetaData.Deserialize(reader); return(messageMetaData); } return(null); }
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; }
/// <summary> /// Desserializa a instância previamente serializada em formato binário. /// </summary> /// <param name="reader"></param> protected override void Deserialize(CompactReader reader) { _call = GetConditionalTerm(reader); _options = (FunctionCallOptions)(int)reader.ReadInt32(); var size = reader.ReadInt32(); _parameters = new ConditionalTerm[size]; for (var i = 0; i < size; ++i) { if (reader.ReadBoolean()) { _parameters[i] = GetConditionalTerm(reader); } } }
/// <summary> /// /// </summary> /// <param name="reader"></param> /// <returns></returns> public static HashSet <T> DeserializeHashSet <T>(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { HashSet <T> dictionary = new HashSet <T>(); int length = reader.ReadInt32(); for (int i = 0; i < length; i++) { T key = (T)reader.ReadObject(); dictionary.Add(key); } return(dictionary); } return(null); }
public static IDictionary <T, HashSet <V> > DeserializeDictionaryHashSet <T, V>(CompactReader reader) { bool flag = reader.ReadBoolean(); IDictionary <T, HashSet <V> > dHashSet = new HashVector <T, HashSet <V> >(); if (flag) { T key; int dictionarylength = reader.ReadInt32(); for (int i = 0; i < dictionarylength; i++) { HashSet <V> valueHashSet; key = (T)reader.ReadObject(); valueHashSet = DeserializeHashSet <V>(reader); dHashSet.Add(key, valueHashSet); } } return(dHashSet); }
public void Deserialize(CompactReader reader) { _groupname = reader.ReadObject() as string; _rendererPort = reader.ReadInt32(); //TODO: NETCORE (IPAddress is not serialize) #if NETCORE string ipAddress = reader.ReadObject() as String; if (ipAddress == null) { _rendererAddress = null; } else { _rendererAddress = IPAddress.Parse(ipAddress); } #elif !NETCORE _rendererAddress = reader.ReadObject() as IPAddress; #endif _isStartedAsMirror = reader.ReadBoolean(); }
public static List <List <T> > DeserializeLL <T>(CompactReader reader) { bool flag = reader.ReadBoolean(); if (flag) { int listLenght = reader.ReadInt32(); List <List <T> > complist = new List <List <T> >(); for (int i = 0; i < listLenght; i++) { List <T> subList = DeserializeList <T>(reader); complist.Add(subList); } return(complist); } else { return(null); } }
public void Deserialize(CompactReader reader) { IsErrorLogsEnabled = (reader.ReadBoolean()); IsDetailedLogsEnabled = (reader.ReadBoolean()); CacheMaxSize = (reader.ReadInt64()); CleanInterval = (reader.ReadInt64()); EvictRatio = (reader.ReadSingle()); ExpirationEnabled = (reader.ReadBoolean()); AbsoluteDefault = reader.ReadInt64(); AbsoluteLonger = reader.ReadInt64(); SlidingDefault = reader.ReadInt64(); SlidingLonger = reader.ReadInt64(); AbsoluteLongerEnabled = reader.ReadBoolean(); AbsoluteDefaultEnabled = reader.ReadBoolean(); DefaultSlidingEnabled = reader.ReadBoolean(); SlidingLongerEnabled = reader.ReadBoolean(); BackingSource = reader.ReadObject() as Hashtable; }
public void Deserialize(CompactReader reader) { _type = reader.ReadInt32(); _secondaryAddress = reader.ReadObject() as Address; initializationPhase = reader.ReadBoolean(); }
/// <summary> /// Deserialize the object /// </summary> /// <param name="reader"></param> public void Deserialize(CompactReader reader) { this._lastViewId = reader.ReadInt64(); this._members = reader.ReadObject() as ArrayList; this._map = reader.ReadObject() as Hashtable; this._updateMap = 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(); }
void ICompactSerializable.Deserialize(CompactReader reader) { sender = (Address)reader.ReadObject(); merge_rejected = reader.ReadBoolean(); if (!merge_rejected) { view = (View)reader.ReadObject(); digest = (Digest)reader.ReadObject(); } }
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(); }
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) { theClient = (string)reader.ReadObject(); theCallback = reader.ReadObject(); notifyOnItemExpiration = reader.ReadBoolean(); _dataFilter = (EventDataFilter)reader.ReadByte(); }
void ICompactSerializable.Deserialize(CompactReader reader) { own_addr = (Address)reader.ReadObject(); coord_addr = (Address)reader.ReadObject(); is_server = reader.ReadBoolean(); started = reader.ReadBoolean(); }
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) { 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 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(); }
public void Deserialize(CompactReader reader) { _strict = (bool) reader.ReadBoolean(); _groups = (ArrayList) reader.ReadObject(); _allBindedGroups = (ArrayList) reader.ReadObject(); _unbindedGroups = (ArrayList) reader.ReadObject(); }