All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.util.internal.Trace Maven / Gradle / Ivy

There is a newer version: 3.41.0
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy