ComponentCommunicationsInterface objects define communication interfaces that components use to communicate with each other. To publish your ability to support communication between components, call RegisterInterface passing an initialised ComponentCommunicationsInterface object.
Code Block | ||
---|---|---|
| ||
WG_COMPONENT_INTERFACE(ComponentCommunicationsInterface) ConnectedFunc CommsConnected; AcceptFunc CommsAccept; DisconnectFunc CommsClose; SendFunc CommsRecv; RecvBroadcastFunc CommsRecvBroadcast; MulticastNofifyFunc CommsMulticastNotify; MulticastReceiveFunc CommsMulticastReceive; }; |
...