On 30-Aug-07, at 4:22 PM, Peter J. Holzer wrote:
I think it should be possible to derive the transaction id from the
connection id, but I see no way to get from a transaction object to
the
underlying connection object. Am I blind?
No, there isn't. In an earlier patch I passed in the connection to
the constructor so that I could use the connection information.
So to satisfy your requirement, I'd go with:
Connection id = time.hosthash.$$.seq
Transaction id = Connection-id.tran-num
Where tran-num is 0, 1, 2, 3, etc every time the transaction is reset.
Matt.