Author: tross
Date: Wed Oct 8 14:16:01 2008
New Revision: 702990
URL: http://svn.apache.org/viewvc?rev=702990&view=rev
Log:
Made expireTime an optional property of session (mgmt)
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp
incubator/qpid/trunk/qpid/specs/management-schema.xml
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp?rev=702990&r1=702989&r2=702990&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp Wed Oct 8
14:16:01 2008
@@ -64,6 +64,7 @@
(agent, this, parent, getId().getName());
mgmtObject->set_attached (0);
mgmtObject->set_detachedLifespan (0);
+ mgmtObject->clr_expireTime();
agent->addObject (mgmtObject);
}
}
Modified: incubator/qpid/trunk/qpid/specs/management-schema.xml
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/specs/management-schema.xml?rev=702990&r1=702989&r2=702990&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/specs/management-schema.xml (original)
+++ incubator/qpid/trunk/qpid/specs/management-schema.xml Wed Oct 8 14:16:01
2008
@@ -280,14 +280,14 @@
===============================================================
-->
<class name="Session">
- <property name="vhostRef" type="objId" references="Vhost"
access="RC" index="y" parentRef="y"/>
- <property name="name" type="sstr" access="RC" index="y"/>
- <property name="channelId" type="uint16" access="RO"/>
- <property name="connectionRef" type="objId" references="Connection"
access="RO"/>
- <property name="detachedLifespan" type="uint32" access="RO" unit="second"/>
+ <property name="vhostRef" type="objId" references="Vhost"
access="RC" index="y" parentRef="y"/>
+ <property name="name" type="sstr" access="RC" index="y"/>
+ <property name="channelId" type="uint16" access="RO"/>
+ <property name="connectionRef" type="objId" references="Connection"
access="RO"/>
+ <property name="detachedLifespan" type="uint32" access="RO"
unit="second"/>
+ <property name="attached" type="bool" access="RO"/>
+ <property name="expireTime" type="absTime" access="RO" optional="y"/>
- <statistic name="attached" type="bool"/>
- <statistic name="expireTime" type="absTime"/>
<statistic name="framesOutstanding" type="count32"/>
<method name="solicitAck"/>