Home » openjdk-7 » net.bonzoun » cocodonkey » [javadoc | source]
net.bonzoun.cocodonkey
public class: DonkeyTalker [javadoc | source]
java.lang.Object
   net.bonzoun.cocodonkey.DonkeyTalker
Nested Class Summary:
public interface  DonkeyTalker.Listener   
public interface  DonkeyTalker.Logger   
Field Summary
protected  BufferedReader in     
protected  PrintWriter out     
protected  RE reVULine1     
protected  RE reVULine2     
protected  RE reVDDown0     
protected  RE reVDDown0b     
protected  RE reVDLine     
protected  RE reVDLineb     
protected  RE reVDDown1     
protected  RE reVDDown     
protected  RE reVDEnd     
protected  RE reVDNLine1     
protected  RE reVDNChunks     
protected  RE reVDNSources     
protected  RE reS     
protected  RE reVRRunning     
protected  RE reVRDone     
protected  RE reVRTitle     
protected  RE reVREnd     
protected  RE reCOMMIT     
protected  RE reVSTitle     
protected  RE reVSLine     
protected  RE reVSData     
protected  RE reVOData     
protected  RE reVMLine     
protected  RE reVMALine     
protected  RE reUPTitle     
protected  RE reUPTitle2     
protected  RE reUPLine     
protected  RE reUPDone     
protected  RE reError     
Constructor:
 public DonkeyTalker(String path,
    Logger logger) 
 public DonkeyTalker(String path,
    SshTunnel tunnel,
    Logger logger) 
 public DonkeyTalker(String path,
    String host,
    Logger logger) 
Method from net.bonzoun.cocodonkey.DonkeyTalker Summary:
addAServer,   addListener,   addServerMet,   addServers,   allServersList,   cancel,   close,   closeFds,   commit,   connect,   connect,   connectToServer,   currentDialogOffset,   dialogSince,   disableUploadFor,   download,   download,   downloadItems,   extendSearch,   fillItemDetails,   finalClose,   finalKill,   finishRead,   forget,   hostname,   kill,   options,   pause,   processIsLocal,   queryList,   queryResult,   quit,   reconnect,   recoverTrash,   removeListener,   removeOldServers,   reshare,   resume,   send,   sendAndSearchResult,   sendNoFail,   sendNoWait,   serversList,   setOption,   startQuery,   startQuery,   stopCommandIfCurrent,   strongParseFloat,   strongParseInt,   testConnection,   uploadCredit,   uploadDisabledTime,   uploadStats
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from net.bonzoun.cocodonkey.DonkeyTalker Detail:
 public synchronized  void addAServer(String host,
    String port) 
 public synchronized  void addListener(Listener listener) 
 public synchronized  void addServerMet(String file) 
 public synchronized  void addServers() 
 public synchronized List allServersList() 
 public synchronized  void cancel(DownloadItem item) 
 public synchronized  void close() throws IOException 
 public synchronized  void closeFds() 
 public synchronized  void commit() 
 public  void connect() throws IOException 
 synchronized  void connect(int timeout) throws IOException 
 public synchronized  void connectToServer(String id) 
 public int currentDialogOffset() 
 public String dialogSince(int n) 
 public synchronized  void disableUploadFor(int n) 
 public synchronized  void download(GenericItem item) 
 public synchronized  void download(String link) 
 public synchronized NSArray downloadItems() 
 public synchronized  void extendSearch() 
 public synchronized  void fillItemDetails(DownloadItem item) 
 public synchronized  void finalClose() 
 public synchronized boolean finalKill() 
 protected synchronized  void finishRead() throws IOException 
 public synchronized  void forget(int nb) 
 public String hostname() 
 public synchronized boolean kill() 
 public synchronized NSDictionary options() 
 public synchronized  void pause(DownloadItem item) 
 public boolean processIsLocal() 
 public synchronized NSArray queryList() 
 public synchronized Object[] queryResult(int resNb) 
 public synchronized  void quit() 
 public synchronized  void reconnect() 
 public synchronized  void recoverTrash() 
 public synchronized  void removeListener(Listener listener) 
 public synchronized  void removeOldServers() 
 public synchronized  void reshare() 
 public synchronized  void resume(DownloadItem item) 
 protected synchronized  void send(String command) throws IOException 
 protected synchronized String sendAndSearchResult(String command,
    RE match,
    String substitute) 
 protected synchronized  void sendNoFail(String command) 
 protected synchronized  void sendNoWait(String command) throws IOException 
 public synchronized NSArray serversList() 
 public synchronized  void setOption(String option,
    String value) 
 public synchronized int[] startQuery(String pattern) 
 public synchronized int[] startQuery(String pattern,
    int minSize,
    int maxSize,
    String media,
    String format,
    String artist,
    String album,
    String title,
    int minBitRate) 
 public  void stopCommandIfCurrent(String cmd) 
 protected float strongParseFloat(String value,
    float def) 
 protected int strongParseInt(String value,
    int def) 
 public synchronized  void testConnection() throws IOException 
 public synchronized int uploadCredit() 
 public synchronized int uploadDisabledTime() 
 public synchronized  void uploadStats(UploadSpeed generalSpeed)