![JAR search and dependency download from the Maven repository](/logo.png)
org.asteriskjava.util.internal.Trace Maven / Gradle / Ivy
package org.asteriskjava.util.internal;
/**
* Interface for tracing network traffic.
*/
public interface Trace
{
/**
* Name of the system property to enable tracing.
* To enable tracing add -Dorg.asteriskjava.trace=true
to the vm parameters when running Asterisk-Java.
*/
String TRACE_PROPERTY = "org.asteriskjava.trace";
/**
* Writes data that has been received from the network to the trace.
* @param s the String that has been received.
*/
void received(String s);
/**
* Writes data that has been sent to the network to the trace.
* @param s the String that has been sent.
*/
void sent(String s);
/**
* Closes allocated resources by trace implementation.
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy