📄 catalogexchangeservice.java
字号:
/* * Created on 27-nov-2005 * *//** * @author magowiz * */package catalog_exchange;import java.net.URL;import net.jxta.service.Service;/** * Interface that describes the Catalog Exchange Service, a Service that * allow a peer to get a catalog from another peer or web * */public interface CatalogExchangeService extends Service { public void addListener(CatalogExchangeListener listener); public boolean getCatalog(int qid,String cn, URL u); public boolean getCatalogFromWeb(String cn, URL u); public boolean isInLocalCache(String cn); /** * Remove a given listener object from the service. Once removed, * a listener will no longer be notified when a new ExampleResponseMsg * response arrives. * * @param listener the listener object to unregister. */ public void removeListener(CatalogExchangeListener listener); public void catRefresh(); public boolean catDelete(String cname);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -