Using Your Client
To use your client, assuming you created a derived handle, instantiate the handle and connect it to the trace manager:
MyDerivedClient myTraceClient;
myTraceClient.connectToManager();
or connect it to another filter:
myTraceClient.connect(myMultiFilter);
If you did not create your own derived handle class, you must supply a static
make() function (see
Creating User-defined Clients). To use your client, instantiate a body with your client’s
make() function and pass it to a handle of type
RWTraceEventClient. Then connect the client handle to the manager or a filter:
RWTraceEventClient myTraceClient( TimeStampClientImp::make() );
myTraceClient.connectToManager();