@Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.prId = in.readInt(); this.processorId = in.readInt(); this.profiles = DataSerializer.readObject(in); }
@Override public void fromData(DataInput din) throws IOException, ClassNotFoundException { super.fromData(din); relayRecipient = (DistributedMember) DataSerializer.readObject(din); processorId = din.readInt(); processorType = din.readInt(); allRegions = din.readBoolean(); if (!allRegions) { regionPath = DataSerializer.readString(din); } }
/** * Fill out this instance of the message using the <code>DataInput</code> Required to be a {@link * com.gemstone.gemfire.DataSerializable}Note: must be symmetric with {@link * #toData(DataOutput)}in what it reads */ @Override public void fromData(DataInput in) throws IOException, ClassNotFoundException { super.fromData(in); this.flags = in.readShort(); setFlags(this.flags, in); this.regionPath = DataSerializer.readString(in); // extra field post 9.0 if (InternalDataSerializer.getVersionForDataStream(in).compareTo(Version.GFE_90) >= 0) { this.isTransactionDistributed = in.readBoolean(); } }