protected static long[] readReconciliationLongs(DataInput in, int len) throws Exception { long[] retval=new long[len]; for(int i=0; i < len; i++) retval[i]=Bits.readLong(in); return retval; }
protected static long[] readReconciliationLongs(DataInput in, int len) throws Exception { long[] retval=new long[len]; for(int i=0; i < len; i++) retval[i]=Bits.readLong(in); return retval; }
public void readFrom(DataInput in) throws Exception { avg=in.readDouble(); count=Bits.readLong(in); } }
/** * Reads a double from an input stream * @param in the input stream * @return the double read from the input stream */ public static double readDouble(DataInput in) throws IOException { return Double.longBitsToDouble(readLong(in)); }
/** * Reads a double from a buffer. * @param buf the buffer * @return the double read from the buffer */ public static double readDouble(ByteBuffer buf) { return Double.longBitsToDouble(readLong(buf)); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); if(type == DATA) seqno=Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); if(type == DATA) seqno=Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); seqno=Bits.readLong(in); flush_ack=in.readBoolean(); }
public void readFrom(DataInput in) throws Exception { id=Bits.readLong(in); frag_id=in.readInt(); num_frags=in.readInt(); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); seqno=Bits.readLong(in); flush_ack=in.readBoolean(); }
public void readFrom(DataInput in) throws Exception { id=Bits.readLong(in); frag_id=in.readInt(); num_frags=in.readInt(); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); seqno=Bits.readLong(in); num_seqnos=in.readUnsignedShort(); }
@Override public void readFrom(DataInput in) throws Exception { address = Util.readAddress(in); id = Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { owner=new Owner(); owner.readFrom(in); version=Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { owner=new Owner(); owner.readFrom(in); version=Bits.readLong(in); }
@Override public void readFrom(DataInput in) throws Exception { type = in.readByte(); messageID = new MessageID(); messageID.readFrom(in); sequencerNumber = Bits.readLong(in); if (type == DATA_MESSAGE) { destinations = (Collection<Address>) Util.readAddresses(in, ArrayList.class); } }