diff options
| author | Alan Conway <aconway@apache.org> | 2007-08-31 20:51:22 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-08-31 20:51:22 +0000 |
| commit | 761e10501fe5ea51f9d8c40d9a200ae27193ab23 (patch) | |
| tree | e2d4bdfdc0b9383661947378a1f183387501637c /cpp/src/cluster.mk | |
| parent | 655b3b5806bafdd784f6a9c242e26341bd6aeccc (diff) | |
| download | qpid-python-761e10501fe5ea51f9d8c40d9a200ae27193ab23.tar.gz | |
* Summary:
- Moved BrokerChannel functionality into Session.
- Moved ChannelHandler methods handling into SessionAdapter.
- Updated all handlers to use session.
(We're still using AMQP channel methods in SessionAdapter)
Roles & responsibilities:
Session:
- represents an _open_ session, may be active or suspended.
- ows all session state including handler chains.
- attahced to SessionAdapter when active, not when suspended.
SessionAdapter:
- reprents the association of a channel with a session.
- owned by Connection, kept in the session map.
- channel open == SessionAdapter.getSessio() != 0
Anything that depends on attachment to a channel, connection or
protocol should be in SessionAdpater. Anything that suvives a
session suspend belongs in Session.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@571575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/cluster.mk')
| -rw-r--r-- | cpp/src/cluster.mk | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cpp/src/cluster.mk b/cpp/src/cluster.mk index 39df373d2e..49fe5c2a81 100644 --- a/cpp/src/cluster.mk +++ b/cpp/src/cluster.mk @@ -3,24 +3,24 @@ # lib_LTLIBRARIES += libqpidcluster.la -if CLUSTER +# if CLUSTER -libqpidcluster_la_SOURCES = \ - qpid/cluster/Cluster.cpp \ - qpid/cluster/Cluster.h \ - qpid/cluster/Cpg.cpp \ - qpid/cluster/Cpg.h \ - qpid/cluster/Dispatchable.h \ - qpid/cluster/ClusterPlugin.cpp \ - qpid/cluster/ClassifierHandler.h \ - qpid/cluster/ClassifierHandler.cpp \ - qpid/cluster/SessionManager.h \ - qpid/cluster/SessionManager.cpp +# libqpidcluster_la_SOURCES = \ +# qpid/cluster/Cluster.cpp \ +# qpid/cluster/Cluster.h \ +# qpid/cluster/Cpg.cpp \ +# qpid/cluster/Cpg.h \ +# qpid/cluster/Dispatchable.h \ +# qpid/cluster/ClusterPlugin.cpp \ +# qpid/cluster/ClassifierHandler.h \ +# qpid/cluster/ClassifierHandler.cpp \ +# qpid/cluster/SessionManager.h \ +# qpid/cluster/SessionManager.cpp -libqpidcluster_la_LIBADD= -lcpg libqpidbroker.la +# libqpidcluster_la_LIBADD= -lcpg libqpidbroker.la -else +# else # Empty stub library to satisfy rpm spec file. libqpidcluster_la_SOURCES = -endif +#endif |
