SemysTransServerTerminateProt

01 This function will be called as callback from the sub-system when the server should be terminated.
02

void (*SemysTransServerTerminateProt)(HSemysTransport trans, HSemysServer server);

03 Parameters:
  • trans: Handle to the transporter interface.
  • server: Handle to the server that is to be destroyed (= Pointer to a SemysServer structure).
04 This typedef is a placeholder for the actual transporter provided callback function.
05 This callback will be called when the user of the server calls SemysServerSetListenerProt() with a 0 as listener reference or during shutdown.
06 For a running server it is expected that the transporter calls SemysTransDeadServerProt() as soon as possible.
07 Destruction of a server is a two phase process to avoid dead lock conditions based on the global lock.
08 Global Lock: Required
Reference: SemysTransporter.h
Implementation: Semys Library
See Also: Transporter Sub-System, SemysTransDeadServerProt()

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