if (dummy.getSize()>0) {
throw new TestException("Data was sent before"
+ " the server sent an increment ration message");
}
//request that an additional 256 bytes be sent
IncrementRationMessage increment = new IncrementRationMessage();
increment.setIncrement((byte)0,(short)0x0100)
.setSessionID((byte)session).send(os);
} while ((receivedBytes < expectedBytes)
&&(System.currentTimeMillis()<stopTime));
if (receivedBytes!=expectedBytes) {
throw new TestException("Unexpected number of bytes"