Asterisk-Java

org.asteriskjava.util.internal
Interface Trace

All Known Implementing Classes:
FileTrace

public interface Trace

Interface for tracing network traffic.


Field Summary
static java.lang.String TRACE_PROPERTY
          Name of the system property to enable tracing.
 
Method Summary
 void received(java.lang.String s)
          Writes data that has been received from the network to the trace.
 void sent(java.lang.String s)
          Writes data that has been sent to the network to the trace.
 

Field Detail

TRACE_PROPERTY

static final java.lang.String TRACE_PROPERTY
Name of the system property to enable tracing.

To enable tracing add -Dorg.asteriskjava.trace=true to the vm parameters when running Asterisk-Java.

See Also:
Constant Field Values
Method Detail

received

void received(java.lang.String s)
Writes data that has been received from the network to the trace.

Parameters:
s - the String that has been received.

sent

void sent(java.lang.String s)
Writes data that has been sent to the network to the trace.

Parameters:
s - the String that has been sent.

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.