TOracleSession connection aware component

I'm developing a component having a TOracleSession property. When this property is assigned the component information is updated if the OracleSession is connected. I would also like to update the information when the OracleSession is connected (incase it wasn't from start or if it was disconnected and then reconnected).
Is there a way to implement this functionality inside of my component (ie making it aware of when the session is connected) without having some external code doing it or using up the published events for the OracleSession?

Is there a way to get hold of the source code for DOA? (If I had it I could probably have found an answer to my problem browsing the source code).

Oh, and I'm using DOA 3.3 for Delphi 4.
 
I don't see any way you can implement this in your component without making changes to the TOracleSession source in 3.3. We could add virtual methods for the BeforeLogon and AfterLogon events in 3.4, so that you can derive a TOracleSession descendant that would do the job.

If you want, you can of course purchase the Direct Oracle Access source code on the ordering pages on our web site.

------------------
Marco Kalter
Allround Automations
 
Back
Top