1 /*
2  * Created on Oct 24, 2009 10:21:17 PM
3  * Copyright (C) Azureus Software, Inc, All Rights Reserved.
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16  */
17 package org.gudy.azureus2.core3.util;
18 
19 
20 /**
21  * Classes that implement this interface can be sent to a bencode
22  *
23  * @author TuxPaper
24  * @created Oct 24, 2009
25  *
26  */
27 public interface BEncodableObject
28 {
29 	/**
30 	 * @return Must return an object that is bencodable
31 	 */
toBencodeObject()32 	public Object toBencodeObject();
33 }
34