diff options
| author | Ted Ross <tross@apache.org> | 2008-10-08 21:16:01 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-10-08 21:16:01 +0000 |
| commit | 24b4a38d0feceb7fe6c372f44c1d23ee9b2f90f5 (patch) | |
| tree | dc8da3c9576d9ed58e577a068fe142358851f9e8 | |
| parent | 4493a470ad8d8a41ae9fedab9a41f6a1e1db0804 (diff) | |
| download | qpid-python-24b4a38d0feceb7fe6c372f44c1d23ee9b2f90f5.tar.gz | |
Made expireTime an optional property of session (mgmt)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702990 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | cpp/src/qpid/broker/SessionState.cpp | 1 | ||||
| -rw-r--r-- | specs/management-schema.xml | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index 18eb1b8466..587dcaf724 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -64,6 +64,7 @@ SessionState::SessionState( (agent, this, parent, getId().getName()); mgmtObject->set_attached (0); mgmtObject->set_detachedLifespan (0); + mgmtObject->clr_expireTime(); agent->addObject (mgmtObject); } } diff --git a/specs/management-schema.xml b/specs/management-schema.xml index 7a0543677f..da53a2f4a3 100644 --- a/specs/management-schema.xml +++ b/specs/management-schema.xml @@ -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"/> - - <statistic name="attached" type="bool"/> - <statistic name="expireTime" type="absTime"/> + <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="framesOutstanding" type="count32"/> <method name="solicitAck"/> |
