MCPcopy Create free account
hub / github.com/jetlang/remoting / Config

Class Config

src/main/java/org/jetlang/web/WebSocketClient.java:388–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386
387
388 public static class Config {
389
390 public void configure(SocketChannel channel) throws IOException {
391 channel.socket().setTcpNoDelay(true);
392 }
393
394 public int getReadBufferSizeInBytes() {
395 return 1024;
396 }
397
398 public int getMaxReadLoops() {
399 return 50;
400 }
401
402 public int getConnectTimeout() {
403 return 5;
404 }
405
406 public TimeUnit getConnectTimeoutUnit() {
407 return TimeUnit.SECONDS;
408 }
409 }
410}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…