if ( !stopped )
{
stopping
true;
try
{
wait ();
}
catch ( InterruptedException e )
{
}
}
}
synchronized void canStop ()
{
if ( stopping
true )
{
stopping
false;
stopped
true;
notify ();
}
}
}
Trace.java
/** * Trace.java
*
- Copyright Cisco Systems,
Inc.
*
*/
public interface Trace
{
/**
- bufPrint (str) puts str in buffer only.
*/
public void bufPrint ( String string );
/**
- print () println () bufPrint and invoke flush ();
*/
public void print ( String string );
public void print ( char character );
public void print ( int integer );
public void println ( String string );
public void println ( char character );
public void println ( int integer );
/**
- flush out the buffer.
*/
public void flush ();
}
Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs
757
Cisco Unified JTAPI Examples
Trace.java
