Group :: OnReceive

01 This function will be called as callback when the group has received some data.
02

[C++] virtual void OnReceive(void const *pData, uint32 dataSize, uint64 sourceMask, uint64 destinationMask, SemysTimeTick tick);
[C#] virtual void OnReceive(IntPtr listener, IntPtr group, IntPtr pData, uint dataSize, ulong sourceMask, ulong destinationMask, ulong tick);

03 Parameters:
  • listener: Always IntPtr.Zero
  • group: Group handle
  • pData / data: The data received.
  • dataSize: Amount of bytes received.
  • sourceMask: Flagfield specifying source members.
  • destinationMask: Flagfield specifying destination members.
  • tick: Timestamp when this data was delivered.
04 This callback is on behalf of the SemysGroupReceiveProt() callback.
05 [C++] The pData pointer is a temporary one that may not be kept beyond the scope of the callback. The received data has to be copied if it needs to be preserved.
06 Global Lock: Required
Reference: net::semys
Implementation: Semys Architecture
See Also: Arch Group Sub-System, Group, SemysGroupReceiveProt()

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