// $Revision: 1.3 $ // Copyright (C) 1994-1995 Taligent, Inc. All rights reserved. #ifndef TaligentSamples_SENDERDISPATCHER #define TaligentSamples_SENDERDISPATCHER #ifndef Taligent_REMOTEDISPATCHER #include #endif #ifndef Taligent_REMOTENOTIFICATION #include #endif #ifndef TaligentSamples_SENDER #include "Sender.h" #endif class TSenderDispatcher : public MRemoteDispatcher, public MRemoteDispatcherNotifier { public: MCollectibleDeclarationsMacro(TSenderDispatcher); TSenderDispatcher(TSender* implementation); virtual ~TSenderDispatcher(); protected: TSenderDispatcher(); void SetValueStub(TStream&, TStream&); void GetValueStub(TStream&, TStream&); void FwdAddRemoteInterest(TStream&, TStream&); void FwdRemoveRemoteInterest(TStream&, TStream&); private: TSenderDispatcher& operator=(const TSenderDispatcher&) { return *this; } TSenderDispatcher(const TSenderDispatcher&) {} TSender* fImplementation; enum { kOriginalVersion }; }; #endif