Class SocketTrace
- java.lang.Object
-
- org.simpleframework.transport.connect.SocketTrace
-
-
Constructor Summary
Constructors Constructor Description SocketTrace(Trace trace)
Constructor for theSocketTrace
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
trace(java.lang.Object event)
This method is used to accept an event that occurred on the socket associated with this trace.void
trace(java.lang.Object event, java.lang.Object value)
This method is used to accept an event that occurred on the socket associated with this trace.
-
-
-
Field Detail
-
trace
private final Trace trace
This is the actual trace that is being wrapped by this.
-
-
Constructor Detail
-
SocketTrace
public SocketTrace(Trace trace)
Constructor for theSocketTrace
object. This will create a trace object that wraps the one provided. If the provided trace is null then this will simply ignore all events.- Parameters:
trace
- this is the trace that is to be wrapped by this
-
-
Method Detail
-
trace
public void trace(java.lang.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.
-
trace
public void trace(java.lang.Object event, java.lang.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.
-
-