if( timeout == WAIT_FOREVER_TIMEOUT ) {
return (Packet) responseSlot.take();
} else if (timeout == NO_WAIT_TIMEOUT ) {
return (Packet) responseSlot.poll(1);
} else {
return (Packet) responseSlot.poll(timeout);
}
} catch (InterruptedException e) {
throw new InterruptedIOException(e.getMessage());
} finally {