コード例 #1
0
 @Override
 public default int setQueueMax() {
   try {
     return Configuration.readConfigIntegerWithException("MAX_SENDQUEUE_SIZE", "SocketOption");
   } catch (Exception e) {
     return Factory.INC_QUEUE_SIZE;
   }
 }
コード例 #2
0
 @Override
 public default int setRCV() {
   try {
     return Configuration.readConfigIntegerWithException(
         StandardSocketOptions.SO_RCVBUF.name(), "SocketOption");
   } catch (Exception e) {
     return Factory.INC_RECV_SIZE;
   }
 }