419420421422423424425426427428429430
{ if (resendCache != null && receivedBytes != 0) { receivedBytes = 0; final Packet confirmed = new PacketsConfirmedMessage(lastConfirmedCommandID); confirmed.setChannelID(id); doWrite(confirmed); } }
439440441442443444445446447448449450451
if (receivedBytes >= confWindowSize) { receivedBytes = 0; final Packet confirmed = new PacketsConfirmedMessage(lastConfirmedCommandID); confirmed.setChannelID(id); doWrite(confirmed); } } }
466467468469470471472473474475476477478
{ if (packet.getType() == PacketImpl.PACKETS_CONFIRMED) { if (resendCache != null) { final PacketsConfirmedMessage msg = (PacketsConfirmedMessage)packet; clearUpTo(msg.getCommandID()); } if (!connection.isClient()) { handler.handlePacket(packet);
528529530531532533534535536537538539
{ if (resendCache != null && receivedBytes != 0) { receivedBytes = 0; final Packet confirmed = new PacketsConfirmedMessage(lastConfirmedCommandID.get()); confirmed.setChannelID(id); doWrite(confirmed); } }
548549550551552553554555556557558559560
if (receivedBytes >= confWindowSize) { receivedBytes = 0; final Packet confirmed = new PacketsConfirmedMessage(lastConfirmedCommandID.get()); confirmed.setChannelID(id); doWrite(confirmed); } } }
575576577578579580581582583584585586587
386387388389390391392393394395396397
406407408409410411412413414415416417418
433434435436437438439440441442443444445
176177178179180181182183184185186
packet = new HornetQExceptionMessage(); break; } case PACKETS_CONFIRMED: { packet = new PacketsConfirmedMessage(); break; } case CREATESESSION: { packet = new CreateSessionMessage();