Disconnects the channel if it is connected. If the channel is closed, this operation is ignored Otherwise the following actions happen in the listed order
The JChannel sends a DISCONNECT event down the protocol stack
Blocks until the channel to receives a DISCONNECT_OK event
Sends a STOP_QUEING event down the stack
Stops the protocol stack by calling ProtocolStack.stop()
Notifies the listener, if the listener is available
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.