Package org.apache.hc.core5.reactor
Class InternalChannel
java.lang.Object
org.apache.hc.core5.reactor.InternalChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,ModalCloseable
- Direct Known Subclasses:
InternalConnectChannel,InternalDataChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final booleancheckTimeout(long currentTimeMillis) (package private) abstract long(package private) abstract Timeout(package private) final voidhandleIOEvent(int ops) (package private) abstract voidonException(Exception cause) (package private) abstract voidonIOEvent(int ops) (package private) abstract voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hc.core5.io.ModalCloseable
close
-
Constructor Details
-
InternalChannel
InternalChannel()
-
-
Method Details
-
onIOEvent
- Throws:
IOException
-
onTimeout
- Throws:
IOException
-
onException
-
getTimeout
-
getLastEventTime
abstract long getLastEventTime() -
handleIOEvent
final void handleIOEvent(int ops) -
checkTimeout
final boolean checkTimeout(long currentTimeMillis)
-