Assertion: class component | /r/CapableOf | receive int message
Facets:
Source sentences:
text: We’ll start by defining a base Component interface that all of our components will implement: class Component { public: virtual ~ Component () {} virtual void receive ( int message ) = 0 ; }; It has a single receive() method that component classes implement in order to listen to an incoming message.