summaryrefslogtreecommitdiff
path: root/comm/OLD/Agent.h
diff options
context:
space:
mode:
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);