1 22 package org.xsocket.stream.io.spi; 23 24 import java.util.concurrent.Executor ; 25 26 27 28 35 public interface IIoHandlerContext { 36 37 43 public Executor getWorkerpool(); 44 45 46 51 public boolean isMultithreaded(); 52 53 54 55 61 public boolean isAppHandlerThreadSafe(); 62 63 64 69 public boolean isAppHandlerListenForConnectEvent(); 70 71 72 73 78 public boolean isAppHandlerListenForDataEvent(); 79 80 81 86 public boolean isAppHandlerListenforDisconnectEvent(); 87 88 89 94 public boolean isAppHandlerListenForTimeoutEvent(); 95 96 } 97 | Popular Tags |