Lines Matching refs:checkOption
47 static void checkOption(SocketChannel sc, SocketOption name, Object expectedValue) in checkOption() method in SocketOptionTests
83 checkOption(sc, SO_KEEPALIVE, false); in test()
84 checkOption(sc, TCP_NODELAY, false); in test()
88 checkOption(sc, SO_KEEPALIVE, true); in test()
90 checkOption(sc, SO_KEEPALIVE, false); in test()
103 checkOption(sc, SO_REUSEADDR, true); in test()
105 checkOption(sc, SO_REUSEADDR, false); in test()
115 checkOption(sc, TCP_NODELAY, true); in test()
123 checkOption(sc, SO_KEEPALIVE, true); in test()
125 checkOption(sc, SO_KEEPALIVE, false); in test()
139 checkOption(sc, TCP_KEEPIDLE, 1234); in test()
141 checkOption(sc, TCP_KEEPINTERVAL, 123); in test()
143 checkOption(sc, TCP_KEEPCOUNT, 7); in test()