예제 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal TaskEvent(IPortableRawReader r) : base(r)
 {
     _taskName      = r.ReadString();
     _taskClassName = r.ReadString();
     _taskSessionId = IgniteGuid.ReadPortable(r);
     _internal      = r.ReadBoolean();
     _subjectId     = r.ReadGuid() ?? Guid.Empty;
 }
예제 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal JobEvent(IPortableRawReader r) : base(r)
 {
     _taskName = r.ReadString();
     _taskClassName = r.ReadString();
     _taskSessionId = IgniteGuid.ReadPortable(r);
     _jobId = IgniteGuid.ReadPortable(r);
     _taskNode = ReadNode(r);
     _taskSubjectId = r.ReadGuid() ?? Guid.Empty;
 }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EventBase"/> class.
        /// </summary>
        /// <param name="r">The reader to read data from.</param>
        protected EventBase(IPortableRawReader r)
        {
            _id = IgniteGuid.ReadPortable(r);

            _localOrder = r.ReadLong();

            _node = ReadNode(r);

            _message   = r.ReadString();
            _type      = r.ReadInt();
            _name      = r.ReadString();
            _timeStamp = r.ReadDate() ?? DateTime.Now;
        }
예제 #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal CacheEvent(IPortableRawReader r) : base(r)
 {
     _cacheName        = r.ReadString();
     _partition        = r.ReadInt();
     _isNear           = r.ReadBoolean();
     _eventNode        = ReadNode(r);
     _key              = r.ReadObject <object>();
     _xid              = IgniteGuid.ReadPortable(r);
     _lockId           = r.ReadObject <object>();
     _newValue         = r.ReadObject <object>();
     _oldValue         = r.ReadObject <object>();
     _hasOldValue      = r.ReadBoolean();
     _hasNewValue      = r.ReadBoolean();
     _subjectId        = r.ReadGuid() ?? Guid.Empty;
     _closureClassName = r.ReadString();
     _taskName         = r.ReadString();
 }