Async notification for incoming close channel petition.
Functions using this handler:
This handler allow you to control what to do on close channel notification. Close notification is received when remote peer wants to close some channel. Vortex library will ensure to handle automatically wrong close notification.
Once again, the handler must return TRUE if channel can be close or FALSE if not. Once the handler is executed, Vortex library will respond to remote peer using the BEEP protocol definition.
|channel_num ||the channel num requesting to be closed. |
|connection ||the connection where the channel resides. |
|user_data ||user defined data passed in to this Async notifier.|
- TRUE if channel can be closed or FALSE if not.