Patent ID: 7536542

Claim:
A method in a computer system for intercepting communications between a transport client and a transport provider, the method comprising: launching an interceptor component before launching the transport provider wherein the interceptor component requests to be notified when the transport provider is launched; launching the transport provider wherein the interceptor component is notified of the launch; under control of the interceptor component, upon being notified that the transport provider has been launched, registering to intercept calls by the transport client to functions of the transport provider; after the interceptor component has registered to intercept calls to the transport provider, launching the transport client; when a call by the transport client is intercepted by the interceptor component, when the intercepted call is to register a callback with the transport provider, replacing the callback to intercept calls from that transport provider to the transport client; providing an indication of the call to a processing component; receiving an indication from the processing component of how to handle the call; and processing the call in accordance with the received indication; and when a callback by the transport provider is intercepted by the interceptor component, providing an indication of the callback to a processing component; receiving an indication from the processing component of how to handle the callback; and processing the callback in accordance with the received indication.