private void queueReceiveTimeout(final Request request) throws TTransportException
{
if (this.requestTimeout != null) {
long requestTimeoutMs = this.requestTimeout.toMillis();
if (requestTimeoutMs > 0) {
TimerTask receiveTimeoutTask = new IoThreadBoundTimerTask(this, new TimerTask() {
@Override
public void run(Timeout timeout) {
onReceiveTimeoutExpired(request);
}
});