The ComponentCommunicationsInterface object defines a communication interface that components use to communicate with each other. To publish your ability to support communication, call RegisterInterface passing an initialised ComponentCommunicationsInterface object.
WG_COMPONENT_INTERFACE(ComponentCommunicationsInterface) ConnectedFunc Connected; AcceptFunc Accept; DisconnectFunc Close; SendFunc Recv; RecvBroadcastFunc RecvBroadcast; MulticastNofifyFunc MulticastNotify; MulticastReceiveFunc MulticastReceive; }; |
All these functions are called by the framework.
Called when a connection request made by your component has completed successfully or been rejected. |
Called to ask your component if it is willing to accept a connection from another component. |
Called when a connection to your component is closed. This typically occurs when WinGate Management disconnects. |
Called when there is data to receive on a connection. |
Called when there is broadcast data to receive |
TBD |
TBD |