diff options
Diffstat (limited to 'qpid')
| -rw-r--r-- | qpid/extras/qmf/src/py/qmf/console.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qpid/extras/qmf/src/py/qmf/console.py b/qpid/extras/qmf/src/py/qmf/console.py index 3a9b5e8aa6..96f26e205c 100644 --- a/qpid/extras/qmf/src/py/qmf/console.py +++ b/qpid/extras/qmf/src/py/qmf/console.py @@ -195,6 +195,18 @@ class Object(object): else: self._objectId = None + self._currentTime = omap.get("update_ts", 0) + self._createTime = omap.get("create_ts", 0) + self._deleteTime = omap.get("delete_ts", 0) + + def getName(self): + """ Return this object's agent-unique name """ + return self.getObjectId().objectName + + def getAgent(self): + """ Return the agent from which this object was sent """ + return self._agent + def getBroker(self): """ Return the broker from which this object was sent """ return self._broker |
