diff options
author | chatty | 1993-07-27 13:55:16 +0000 |
---|---|---|
committer | chatty | 1993-07-27 13:55:16 +0000 |
commit | 266839df23d696cecb049514b98784bcf6fa59c7 (patch) | |
tree | 6a0984c43c55789f0a4e71d5746df908b77f9f7d /comm/OLD | |
parent | 896b2f2bdcacfa9d561114f55707e895becb69ad (diff) | |
download | ivy-league-266839df23d696cecb049514b98784bcf6fa59c7.zip ivy-league-266839df23d696cecb049514b98784bcf6fa59c7.tar.gz ivy-league-266839df23d696cecb049514b98784bcf6fa59c7.tar.bz2 ivy-league-266839df23d696cecb049514b98784bcf6fa59c7.tar.xz |
Added result to Run
Now handle CPLUS_BUG19
Diffstat (limited to 'comm/OLD')
-rw-r--r-- | comm/OLD/Agent.h | 12 |
1 files changed, 8 insertions, 4 deletions
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 <UchRemoteAgent> 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); |