blob: 1d18aa77ea1c009f9bf218edce9553f40c86cae8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "proto.h"
using namespace NCalculator;
using namespace NBus;
TCalculatorProtocol::TCalculatorProtocol()
: TBusBufferProtocol("Calculator", 34567)
{
RegisterType(new TRequestSum);
RegisterType(new TRequestMul);
RegisterType(new TResponse);
}
|