SemysGroupMemberPresentProt

01 This function will be called as callback from the group when a member of a group successfully joined it.
02

typedef void (*SemysGroupMemberPresentProt)(HSemysListener listener, HSemysGroup group, uint64 memberIndex, uint64 requestKey, SemysTimeTick tick);

03 Parameters:
  • listener: The listener handle from the SemysGroupListener structure.
  • group: The group calling this callback.
  • memberIndex: The index of the member.
  • requestKey: Request key of the join.
  • tick: Time tick value when this event happened.
04 This typedef is a placeholder for the actual user code provided callback function.
05 Because of this callback, the user code is required to
  • Encode its state data
  • Perform a valid cut within the process
  • Call SemysGroupMemberPresenceConfirmProt()
06 The 'tick' is also identical at each member.
07 Global Lock: Required
Reference: SemysGroup.h
Implementation: Semys Library
See Also: Group Sub-System, SemysGroupStateDataProt(), SemysGroupLocalPresentProt()

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