Example #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal TaskEvent(IBinaryRawReader r) : base(r)
 {
     _taskName      = r.ReadString();
     _taskClassName = r.ReadString();
     _taskSessionId = IgniteGuid.Read(r);
     _internal      = r.ReadBoolean();
     _subjectId     = r.ReadGuid();
 }
Example #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal JobEvent(IBinaryRawReader r) : base(r)
 {
     _taskName      = r.ReadString();
     _taskClassName = r.ReadString();
     _taskSessionId = IgniteGuid.Read(r);
     _jobId         = IgniteGuid.Read(r);
     _taskNode      = ReadNode(r);
     _taskSubjectId = r.ReadGuid();
 }
Example #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="r">The reader to read data from.</param>
 internal CacheEvent(IBinaryRawReader r) : base(r)
 {
     _cacheName        = r.ReadString();
     _partition        = r.ReadInt();
     _isNear           = r.ReadBoolean();
     _eventNode        = ReadNode(r);
     _key              = r.ReadObject <object>();
     _xid              = IgniteGuid.Read(r);
     _newValue         = r.ReadObject <object>();
     _oldValue         = r.ReadObject <object>();
     _hasOldValue      = r.ReadBoolean();
     _hasNewValue      = r.ReadBoolean();
     _subjectId        = r.ReadGuid();
     _closureClassName = r.ReadString();
     _taskName         = r.ReadString();
 }
Example #4
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(IBinaryRawReader r)
        {
            var id = IgniteGuid.Read(r);

            Debug.Assert(id.HasValue);
            _id = id.Value;

            _localOrder = r.ReadLong();

            _node = ReadNode(r);

            _message = r.ReadString();
            _type    = r.ReadInt();
            _name    = r.ReadString();

            var timestamp = r.ReadTimestamp();

            Debug.Assert(timestamp.HasValue);
            _timestamp = timestamp.Value;
        }