@Override public void readData(ObjectDataInput in) throws IOException { partitionId = in.readInt(); boolean hasFrom = in.readBoolean(); if (hasFrom) { source = new Address(); source.readData(in); } destination = new Address(); destination.readData(in); masterUuid = in.readUTF(); if (in.readBoolean()) { master = new Address(); master.readData(in); } }
@Override public void readData(ObjectDataInput in) throws IOException { id = in.readUTF(); serviceName = in.readUTF(); topic = in.readUTF(); subscriber = new Address(); subscriber.readData(in); filter = in.readObject(); }
@Override protected void readInternal(ObjectDataInput in) throws IOException { backupOp = in.readObject(); if (in.readBoolean()) { originalCaller = new Address(); originalCaller.readData(in); } replicaVersions = in.readLongArray(); sync = in.readBoolean(); }
@Override public void readData(ObjectDataInput in) throws IOException { packetVersion = in.readByte(); buildNumber = in.readInt(); address = new Address(); address.readData(in); uuid = in.readUTF(); configCheck = new ConfigCheck(); configCheck.readData(in); memberCount = in.readInt(); }
@Override protected void readInternal(ObjectDataInput in) throws IOException { super.readInternal(in); stateName = in.readUTF(); try { newState = ClusterState.valueOf(stateName); } catch (IllegalArgumentException ignored) { EmptyStatement.ignore(ignored); } initiator = new Address(); initiator.readData(in); txnId = in.readUTF(); }
public void readData(DataInput in) throws IOException { script = in.readUTF(); engine = in.readUTF(); targetAllMembers = in.readBoolean(); int size = in.readInt(); targets = new HashSet<Address>(size); for (int i = 0; i < size; i++) { Address target = new Address(); target.readData(in); targets.add(target); } bindings = readMap(in); }
@Override public void readData(ObjectDataInput in) throws IOException { int len = in.readInt(); members = new Address[len]; for (int i = 0; i < len; i++) { Address a = new Address(); a.readData(in); members[i] = a; } len = in.readInt(); ownerIndexes = new int[len]; for (int i = 0; i < len; i++) { ownerIndexes[i] = in.readInt(); } }
@Override public void readData(ObjectDataInput in) throws IOException { super.readData(in); address = new Address(); address.readData(in); }