...
Code Block |
---|
|
WG_COMPONENT_INTERFACE(ComponentCommunicationsInterface)
ConnectedFunc CommsConnectedConnected;
AcceptFunc CommsAcceptAccept;
DisconnectFunc CommsCloseClose;
SendFunc CommsRecvRecv;
RecvBroadcastFunc CommsRecvBroadcastRecvBroadcast;
MulticastNofifyFunc CommsMulticastNotifyMulticastNotify;
MulticastReceiveFunc CommsMulticastReceiveMulticastReceive;
}; |
All these functions are called by the framework.
Vardef |
---|
Name | CommsConnectedConnected |
---|
Linked | true |
---|
Type | ConnectedFunc |
---|
Style | Member |
---|
|
Called when a connection request made by your component has completed successfully or been rejected. |
Vardef |
---|
Name | CommsAcceptAccept |
---|
Linked | true |
---|
Type | AcceptFunc |
---|
Style | Member |
---|
|
Called to ask your component if it is willing to accept a connection from another component. |
Vardef |
---|
Name | CommsCloseClose |
---|
Linked | true |
---|
Type | DisconnectFunc |
---|
Style | Member |
---|
|
Called when a connection to your component is closed. This typically occurs when WinGate Management disconnects. |
Vardef |
---|
Name | CommsRecvRecv |
---|
Linked | true |
---|
Type | SendFunc |
---|
Style | Member |
---|
|
Called when there is data to receive on a connection. |
Vardef |
---|
Name | CommsRecvBroadcastRecvBroadcast |
---|
Linked | true |
---|
Type | RecvBroadcastFunc |
---|
Style | Member |
---|
Optional | true |
---|
|
Called when there is broadcast data to receive |
Vardef |
---|
Name | CommsMulticastNotifyMulticastNotify |
---|
Linked | true |
---|
Type | MulticastNotifyFunc |
---|
Style | Member |
---|
Optional | true |
---|
|
TBD |
Vardef |
---|
Name | CommsMulticastReceiveMulticastReceive |
---|
Linked | true |
---|
Type | MulticastReceiveFunc |
---|
Style | Member |
---|
Optional | true |
---|
|
TBD |