abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };
} else if (filter == Native.EVFILT_READ) { unsafe.readReady(eventList.data(i)); } else if (filter == Native.EVFILT_SOCK && (eventList.fflags(i) & Native.NOTE_RDHUP) != 0) { unsafe.readEOF();
abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
} else if (filter == Native.EVFILT_READ) { unsafe.readReady(eventList.data(i)); } else if (filter == Native.EVFILT_SOCK && (eventList.fflags(i) & Native.NOTE_RDHUP) != 0) { unsafe.readEOF();
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };
abstract void readReady(KQueueRecvByteAllocatorHandle allocHandle);
final void readEOF() { // This must happen before we attempt to read. This will ensure reading continues until an error occurs. final KQueueRecvByteAllocatorHandle allocHandle = recvBufAllocHandle(); allocHandle.readEOF(); if (isActive()) { // If it is still active, we need to call readReady as otherwise we may miss to // read pending data from the underlying file descriptor. // See https://github.com/netty/netty/issues/3709 readReady(allocHandle); } else { // Just to be safe make sure the input marked as closed. shutdownInput(true); } }
@Override public void run() { readReadyRunnablePending = false; readReady(recvBufAllocHandle()); } };