Interface TunnelAgent.CloseTunnelCallback
- Enclosing interface:
- TunnelAgent
public static interface TunnelAgent.CloseTunnelCallback
Callback interface returned from
#openTunnel()
.-
Method Summary
Modifier and Type Method Description void
closeTunnel()
This callback method is called when a tunnel needs to be closed and the request and response streams detached from it.
-
Method Details
-
closeTunnel
void closeTunnel()This callback method is called when a tunnel needs to be closed and the request and response streams detached from it.Note: Errors on connection-close are not propagated to the implementation, therefore this method cannot throw any exceptions.
-