public static interface ProtocolStack.Listener
ProtocolStack.| Modifier and Type | Method and Description |
|---|---|
void |
onClosed(ProtocolStack stack,
IOException cause)
When the stack was closed normally or abnormally due to an error.
|
void onClosed(ProtocolStack stack, IOException cause)
stack - the stack that has closed.cause - if the stack is closed abnormally, this parameter
represents an exception that has triggered it.
Otherwise null.Copyright © 2004–2017. All rights reserved.