public void write(MarshallerWriteContext context) throws IOException { context.writeShort(WorkingMemoryAction.WorkingMemoryReteAssertAction); context.writeInt(this.factHandle.getId()); context.writeBoolean(this.removeLogical); context.writeBoolean(this.updateEqualsMap); if (this.ruleOrigin != null) { context.writeBoolean(true); context.writeUTF(ruleOrigin.getPackage()); context.writeUTF(ruleOrigin.getName()); } else { context.writeBoolean(false); } if (this.leftTuple != null) { context.writeBoolean(true); context.writeInt(context.terminalTupleMap.get(this.leftTuple)); } else { context.writeBoolean(false); } }
public void write(MarshallerWriteContext context) throws IOException { context.writeShort(WorkingMemoryAction.WorkingMemoryReteExpireAction); context.writeInt(this.factHandle.getId()); context.writeInt(this.node.getId()); }