17 lines
243 B
C++
17 lines
243 B
C++
namespace messaging
|
|
{
|
|
class receiver
|
|
{
|
|
queue q;
|
|
public:
|
|
operator sender()
|
|
{
|
|
return sender(&q);
|
|
}
|
|
dispatcher wait()
|
|
{
|
|
return dispatcher(&q);
|
|
}
|
|
};
|
|
}
|