Use the transport's idle timeout, not a hardcoded value.

This commit is contained in:
akwizgran
2014-12-14 15:18:39 +00:00
parent d4fa656dbb
commit 29a6596ee3
15 changed files with 77 additions and 26 deletions

View File

@@ -223,11 +223,15 @@ class ModemPlugin implements DuplexPlugin, Modem.Callback {
private class Writer implements TransportConnectionWriter {
public int getMaxFrameLength() {
return maxFrameLength;
return getMaxFrameLength();
}
public long getMaxLatency() {
return maxLatency;
return getMaxLatency();
}
public long getMaxIdleTime() {
return getMaxIdleTime();
}
public long getCapacity() {