1 /* 2 * Created on Feb 20, 2008 3 * Created by Paul Gardner 4 * 5 * Copyright (C) Azureus Software, Inc, All Rights Reserved. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 */ 19 20 21 package com.aelitis.azureus.plugins.net.netstatus; 22 23 public interface 24 NetStatusProtocolTesterListener 25 { 26 public void sessionAdded( NetStatusProtocolTesterBT.Session session )27 sessionAdded( 28 NetStatusProtocolTesterBT.Session session ); 29 30 public void complete( NetStatusProtocolTesterBT tester )31 complete( 32 NetStatusProtocolTesterBT tester ); 33 34 public void log( String str, boolean is_detailed )35 log( 36 String str, 37 boolean is_detailed ); 38 39 public void logError( String str )40 logError( 41 String str ); 42 43 public void logError( String str, Throwable e )44 logError( 45 String str, 46 Throwable e ); 47 } 48