/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered inbound messages and return {@code true} if any were in the inbound buffer, {@code false} * otherwise. */ public boolean releaseInbound() { return releaseAll(inboundMessages); }
/** * Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false} * otherwise. */ public boolean releaseOutbound() { return releaseAll(outboundMessages); }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }
/** * Mark this {@link Channel} as finished. Any further try to write data to it will fail. * * @param releaseAll if {@code true} all pending message in the inbound and outbound buffer are released. * @return bufferReadable returns {@code true} if any of the used buffers has something left to read */ private boolean finish(boolean releaseAll) { close(); try { checkException(); return isNotEmpty(inboundMessages) || isNotEmpty(outboundMessages); } finally { if (releaseAll) { releaseAll(inboundMessages); releaseAll(outboundMessages); } } }