Interface Trace
- All Known Implementing Classes:
SocketTrace
public interface Trace
The
Trace
interface represents an trace log for various
connection events. A trace is not limited to low level I/O events
it can also gather event data that relates to protocol specific
events. Using a trace in this manner enables problems to be solved
with connections as they arise.
When implementing a Trace
there should be special
attention paid to its affect on the performance of the server. The
trace is used deep within the core and any delays experienced in
the trace will be reflected in the performance of the server.
- See Also:
-
Method Summary
-
Method Details
-
trace
This method is used to accept an event that occurred on the socket associated with this trace. Typically the event is a symbolic description of the event such as an enum or a string.- Parameters:
event
- this is the event that occurred on the socket
-
trace
This method is used to accept an event that occurred on the socket associated with this trace. Typically the event is a symbolic description of the event such as an enum or a string.- Parameters:
event
- this is the event that occurred on the socketvalue
- provides additional information such as an exception
-