*/
};
-struct Unit{};
-
template <class Rin, class Rout = Rin>
class InboundHandler : public HandlerBase<InboundHandlerContext<Rout>> {
public:
typedef Rin rin;
typedef Rout rout;
- typedef Unit win;
- typedef Unit wout;
+ typedef Nothing win;
+ typedef Nothing wout;
typedef InboundHandlerContext<Rout> Context;
virtual ~InboundHandler() {}
public:
static const HandlerDir dir = HandlerDir::OUT;
- typedef Unit rin;
- typedef Unit rout;
+ typedef Nothing rin;
+ typedef Nothing rout;
typedef Win win;
typedef Wout wout;
typedef OutboundHandlerContext<Wout> Context;