Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
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
NameCommsConnectedConnected
Linkedtrue
TypeConnectedFunc
StyleMember

Called when a connection request made by your component has completed successfully or been rejected.

Vardef
NameCommsAcceptAccept
Linkedtrue
TypeAcceptFunc
StyleMember

Called to ask your component if it is willing to accept a connection from another component.

Vardef
NameCommsCloseClose
Linkedtrue
TypeDisconnectFunc
StyleMember

Called when a connection to your component is closed. This typically occurs when WinGate Management disconnects.

Vardef
NameCommsRecvRecv
Linkedtrue
TypeSendFunc
StyleMember

Called when there is data to receive on a connection.

Vardef
NameCommsRecvBroadcastRecvBroadcast
Linkedtrue
TypeRecvBroadcastFunc
StyleMember
Optionaltrue

Called when there is broadcast data to receive

Vardef
NameCommsMulticastNotifyMulticastNotify
Linkedtrue
TypeMulticastNotifyFunc
StyleMember
Optionaltrue

TBD

Vardef
NameCommsMulticastReceiveMulticastReceive
Linkedtrue
TypeMulticastReceiveFunc
StyleMember
Optionaltrue

TBD