Esempio n. 1
0
        public override object ShallowClone()
        {
            SlotChange sc = new SlotChange(0);

            sc.NewSlot(_newSlot);
            return(base.ShallowCloneInternal(sc));
        }
Esempio n. 2
0
        public override object Read(ByteArrayBuffer reader)
        {
            SlotChange change  = new SlotChange(reader.ReadInt());
            Slot       newSlot = new Slot(reader.ReadInt(), reader.ReadInt());

            change.NewSlot(newSlot);
            return(change);
        }
Esempio n. 3
0
				public _IVisitable_112(SlotChange[] slotChanges)
				{
					this.slotChanges = slotChanges;
				}
Esempio n. 4
0
			private void Commit(SlotChange[] slotChanges)
			{
				IdSystem().Commit(new _IVisitable_112(slotChanges), FreespaceCommitter.DoNothing);
			}
Esempio n. 5
0
		public override object ShallowClone()
		{
			SlotChange sc = new SlotChange(0);
			sc.NewSlot(_newSlot);
			return base.ShallowCloneInternal(sc);
		}
Esempio n. 6
0
		private void Operation(SlotChange.SlotChangeOperation operation)
		{
			if (_firstOperation == null)
			{
				_firstOperation = operation;
			}
			_currentOperation = operation;
		}
Esempio n. 7
0
		public override object Read(ByteArrayBuffer reader)
		{
			SlotChange change = new SlotChange(reader.ReadInt());
			Slot newSlot = new Slot(reader.ReadInt(), reader.ReadInt());
			change.NewSlot(newSlot);
			return change;
		}
Esempio n. 8
0
 public void Visit(object idSlotMapping)
 {
     var slotChange = new SlotChange(((IdSlotMapping) idSlotMapping)._id);
     slotChange.NotifySlotCreated(((IdSlotMapping) idSlotMapping).Slot());
     outSideVisitor.Visit(slotChange);
 }
				public void Visit(object idSlotMapping)
				{
					SlotChange slotChange = new SlotChange(((TreeInt)idSlotMapping)._key);
					slotChange.NotifySlotCreated(((IdSlotTree)idSlotMapping).Slot());
					outSideVisitor.Visit(slotChange);
				}
Esempio n. 10
0
 public void Accept(IVisitor4 visitor)
 {
     var slotChange = new SlotChange(id);
     slotChange.NotifySlotCreated(new Slot(address, length));
     visitor.Visit(slotChange);
 }