1 /* 2 * Created on 01-Feb-2005 3 * Created by Paul Gardner 4 * Copyright (C) Azureus Software, Inc, All Rights Reserved. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 9 * of the License, or (at your option) any later version. 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 19 20 package com.aelitis.azureus.plugins.dht; 21 22 /** 23 * @author parg 24 * 25 */ 26 27 public interface 28 DHTPluginOperationListener 29 { 30 public void starts( byte[] key )31 starts( 32 byte[] key ); 33 34 public boolean diversified()35 diversified(); 36 37 public void valueRead( DHTPluginContact originator, DHTPluginValue value )38 valueRead( 39 DHTPluginContact originator, 40 DHTPluginValue value ); 41 42 public void valueWritten( DHTPluginContact target, DHTPluginValue value )43 valueWritten( 44 DHTPluginContact target, 45 DHTPluginValue value ); 46 47 public void complete( byte[] key, boolean timeout_occurred )48 complete( 49 byte[] key, 50 boolean timeout_occurred ); 51 } 52