long start = System.currentTimeMillis();
myConnection.writePacket(pkt);
// Asynch-reply: JICPPacket reply = waitForReply(RESPONSE_TIMEOUT);
readStartTime = System.currentTimeMillis();
JICPPacket reply = myConnection.readPacket();
readStartTime = -1;
checkTerminatedInfo(reply);
lastReceivedTime = System.currentTimeMillis();
long end = lastReceivedTime;
System.out.println("INP Session " + inpCnt + ". Dispatching time = " + (end - start));
if (myLogger.isLoggable(Logger.FINER)) {
myLogger.log(Logger.FINER, myID + ": Received response " + inpCnt + " from FE");
}
if (reply.getType() == JICPProtocol.ERROR_TYPE) {
// Communication OK, but there was a JICP error on the peer
throw new ICPException(new String(pkt.getData()));
}
if (!peerActive) {
// This is the response to an exit command --> Suicide, without