inline CommCbFunPtrCallT(int debugSection, int debugLevel,
const char *callName, const Dialer &aDialer);
-// XXX: obsolete comment?
- // parameter cannot be const because getDialer() cannot be const
- // getDialer() cannot because Comm IO syncWithComm() alters the object params data
inline CommCbFunPtrCallT(const Pointer &p) :
AsyncCall(p->debugSection, p->debugLevel, p->name),
dialer(p->dialer)
{
public:
CallSubscription(const RefCount<Call_> &aCall) : call(aCall) {};
-
-// XXX: obsolete comment?
- // cant be const sometimes because CommCbFunPtrCallT cant provide a const overload.
- // CommCbFunPtrCallT lists why. boils down to Comm IO syncWithComm() existence
- // NP: we still treat it as const though.
- CallSubscription(RefCount<Call_> &aCall) : call(aCall) {};
virtual AsyncCall::Pointer callback() { return new Call_(call); };
// virtual AsyncCall::Pointer callback() const { return new Call_(call); };