|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Agent
The Agent object represents a tracing agent used to
monitor events on a connection. Its primary responsibilities are to
create Trace objects that are attached to a specific
socket channel. When any event occurs on that channel the trace is
notified and can forward the details on to the agent for analysis.
An agent implementation must make sure that it does not affect the performance of the server. If there are delays creating a trace or within the trace itself it will have an impact on performance.
Trace| Method Summary | |
|---|---|
Trace |
attach(SocketChannel channel)
This method is used to attach a trace to the specified channel. |
void |
stop()
This is used to stop the agent and clear all trace information. |
| Method Detail |
|---|
Trace attach(SocketChannel channel)
channel - this is the channel to associate with the trace
void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||