System.out.println(p + ": " + connection.getStringValue(p));
}
System.out.println("createTimestamp: " + new Date(connection.getCreateTime()/1000000l));
ObjectId connectionId = connection.getObjectId();
for (QmfConsoleData session : sessions)
{ // Iterate through all session objects
ObjectId connectionRef = session.getRefValue("connectionRef");
if (connectionRef.equals(connectionId))
{ // But only select sessions that are associated with the connection under consideration.
System.out.printf("Session '%s'\n", session.getStringValue("name"));
int subscriptionCount = 0;
ObjectId sessionId = session.getObjectId();
for (QmfConsoleData subscription : subscriptions)
{ // Iterate through all subscription objects
ObjectId sessionRef = subscription.getRefValue("sessionRef");
if (sessionRef.equals(sessionId))
{ // But only select subscriptions that are associated with the session under consideration.
subscriptionCount++;
ObjectId queueRef = subscription.getRefValue("queueRef");
if (_logQueues)
{
logQueueInformation(queueRef);
}
}