void handleOutboundChannelClosed() { int oldState; oldState = incrementState(-ONE_OUTBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed outbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed outbound channel on %s", this); } }
void handleInboundChannelClosed() { int oldState; oldState = incrementState(-ONE_INBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed inbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed inbound channel on %s", this); } }
void handleInboundChannelClosed() { int oldState; oldState = incrementState(-ONE_INBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed inbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed inbound channel on %s", this); } }
void handleInboundChannelClosed() { int oldState; oldState = incrementState(-ONE_INBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed inbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed inbound channel on %s", this); } }
void handleOutboundChannelClosed() { int oldState; oldState = incrementState(-ONE_OUTBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed outbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed outbound channel on %s", this); } }
void handleOutboundChannelClosed() { int oldState; oldState = incrementState(-ONE_OUTBOUND_CHANNEL); if (oldState == (SENT_CLOSE_REQ | RECEIVED_CLOSE_REQ)) { log.tracef("Closed outbound channel on %s (shutting down)", this); remoteConnection.shutdownWrites(); } else { log.tracef("Closed outbound channel on %s", this); } }