summaryrefslogtreecommitdiff
path: root/comm/OLD/Agent.h
diff options
context:
space:
mode:
authorchatty1993-07-27 13:55:16 +0000
committerchatty1993-07-27 13:55:16 +0000
commit266839df23d696cecb049514b98784bcf6fa59c7 (patch)
tree6a0984c43c55789f0a4e71d5746df908b77f9f7d /comm/OLD/Agent.h
parent896b2f2bdcacfa9d561114f55707e895becb69ad (diff)
downloadivy-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/Agent.h')
-rw-r--r--comm/OLD/Agent.h12
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);