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

    Modifier and Type
    Method
    Description
    void
    trace(Object event)
    This method is used to accept an event that occurred on the socket associated with this trace.
    void
    trace(Object event, Object value)
    This method is used to accept an event that occurred on the socket associated with this trace.
  • Method Details

    • trace

      void trace(Object event)
      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

      void trace(Object event, Object value)
      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
      value - provides additional information such as an exception