1 /*
2  * Created on 12 Jul 2006
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.core.peermanager;
21 
22 import java.net.InetSocketAddress;
23 
24 import com.aelitis.azureus.core.networkmanager.NetworkConnection;
25 
26 public interface
27 PeerManagerRegistrationAdapter
28 {
29 	public byte[][]
getSecrets()30 	getSecrets();
31 
32 	public boolean
manualRoute( NetworkConnection connection )33 	manualRoute(
34 		NetworkConnection		connection );
35 
36 	public boolean
isPeerSourceEnabled( String peer_source )37 	isPeerSourceEnabled(
38 		String		peer_source );
39 
40 	public boolean
activateRequest( InetSocketAddress remote_address )41 	activateRequest(
42 		InetSocketAddress		remote_address );
43 
44 	public void
deactivateRequest( InetSocketAddress remote_address )45 	deactivateRequest(
46 		InetSocketAddress		remote_address );
47 
48 	public String
getDescription()49 	getDescription();
50 }
51