From 266839df23d696cecb049514b98784bcf6fa59c7 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 27 Jul 1993 13:55:16 +0000 Subject: Added result to Run Now handle CPLUS_BUG19 --- comm/OLD/Agent.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'comm/OLD/Agent.h') diff --git a/comm/OLD/Agent.h b/comm/OLD/Agent.h index e7db419..7f2149f 100644 --- a/comm/OLD/Agent.h +++ b/comm/OLD/Agent.h @@ -26,8 +26,12 @@ class UchAgent : public UchStream { friend class UchRemoteAgent; protected: +#ifndef CPLUS_BUG19 CcuListOf RemoteAgents; - pUchMultiplexer ChanSet; +#else + CcuList RemoteAgents; +#endif + pUchBaseMultiplexer Mpx; void HandleRead (); @@ -39,12 +43,12 @@ public: UchChannel* Copy () const; - bool Setup (UchMultiplexer* cs = 0); -inline UchMultiplexer* GetMultiplexer () { return ChanSet; } + bool Setup (UchBaseMultiplexer* cs = 0); +inline UchBaseMultiplexer* GetMultiplexer () { return Mpx; } UchRemoteAgent* Contact (UchAddress*); void RemoveRemoteAgent (UchRemoteAgent*); - void Run (); + MPX_RES Run (); void Unlisten (); void Broadcast (UchMessage&, bool = FALSE); -- cgit v1.1