SemysConnIdleProt

01 This function will be called as callback from the connection when it is idling.
02

typedef void (*SemysConnIdleProt)(HSemysListener listener, HSemysConn conn);

03 Parameters:
  • listener: The listener handle from the SemysConnListener structure.
  • conn: The connection calling this callback.
04 This typedef is a placeholder for the actual user code provided callback function.
05 This callback is optional and exists for user code that does not have a dedicated thread to perform timeout handling.
06 Calling this function is independent to the state of the connection and there is no specific interval when this function is called.
The thread of the connection may call it very often, so the user should implement a time limit if desired - especially if the handling function may be called by several connection threads.
07 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System

Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details.