Package org.apache.hc.core5.reactor
Class InternalChannel
- java.lang.Object
-
- org.apache.hc.core5.reactor.InternalChannel
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ModalCloseable
- Direct Known Subclasses:
InternalConnectChannel
,InternalDataChannel
abstract class InternalChannel extends java.lang.Object implements ModalCloseable
-
-
Constructor Summary
Constructors Constructor Description InternalChannel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) boolean
checkTimeout(long currentTimeMillis)
(package private) abstract long
getLastEventTime()
(package private) abstract Timeout
getTimeout()
(package private) void
handleIOEvent(int ops)
(package private) abstract void
onException(java.lang.Exception cause)
(package private) abstract void
onIOEvent(int ops)
(package private) abstract void
onTimeout(Timeout timeout)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hc.core5.io.ModalCloseable
close
-
-
-
-
Method Detail
-
onIOEvent
abstract void onIOEvent(int ops) throws java.io.IOException
- Throws:
java.io.IOException
-
onTimeout
abstract void onTimeout(Timeout timeout) throws java.io.IOException
- Throws:
java.io.IOException
-
onException
abstract void onException(java.lang.Exception cause)
-
getTimeout
abstract Timeout getTimeout()
-
getLastEventTime
abstract long getLastEventTime()
-
handleIOEvent
final void handleIOEvent(int ops)
-
checkTimeout
final boolean checkTimeout(long currentTimeMillis)
-
-