| java.lang.Object org.drftpd.master.RemoteSlave org.drftpd.tests.DummyRemoteSlave
DummyRemoteSlave | public class DummyRemoteSlave extends RemoteSlave (Code) | | author: zubov version: $Id: DummyRemoteSlave.java 1166 2005-03-31 03:12:35Z zubov $ |
Method Summary | |
public void | commit() | public void | connect(Socket socket, BufferedReader in) | public void | connect(Socket socket, BufferedReader reader, PrintWriter writer) | public void | disconnect() | public void | fakeConnect() | public void | fetchAbortFromIndex(String abortIndex) | public long | fetchChecksumFromIndex(String index) | public ID3Tag | fetchID3TagFromIndex(String index) | public int | fetchMaxPathFromIndex(String maxPathIndex) | public void | fetchRemergeResponseFromIndex(String index) | public AsyncResponse | fetchResponse(String index) | public LightSFVFile | fetchSFVFileFromIndex(String index) | public SlaveStatus | fetchStatusFromIndex(String statusIndex) | public RemoteTransfer | fetchTransferIndexFromIndex(String index) | public int | getPort() | public LinkedRemoteFile | getSlaveRoot() | public boolean | isOnline() | public String | issueAbortToSlave(RemoteTransfer transferIndex) | public void | issueAbortToSlave(TransferIndex transferIndex) | public String | issueChecksumToSlave(String string) | public String | issueConnectToSlave(InetSocketAddress address, boolean encryptedDataChannel) | public String | issueDeleteToSlave(String sourceFile) | public String | issueID3TagToSlave(String string) | public String | issueListenToSlave(boolean encryptedDataChannel) | public String | issueMaxPathToSlave() | public String | issuePingToSlave() | public String | issueReceiveToSlave(String name) | public String | issueReceiveToSlave(String name, char c, long position, TransferIndex index) | public String | issueRemergeToSlave() | public String | issueRenameToSlave(String from, String toDirPath, String toName) | public String | issueSFVFileToSlave(String string) | public String | issueSendToSlave(String name) | public String | issueSendToSlave(String name, char c, long position, TransferIndex index) | public String | issueStatusToSlave() | public String | issueTransferStatusToSlave(String transferIndex) | public String | issueTransferStatusToSlave(RemoteTransfer transferIndex) | public String | issueTransferStatusToSlave(TransferIndex transferIndex) | public void | listenForInfoFromSlave() | public void | run() | public boolean | transferIsUpdated(RemoteTransfer transferIndex) | public boolean | transferIsUpdated(TransferIndex transferIndex) |
commit | public void commit()(Code) | | |
disconnect | public void disconnect()(Code) | | |
fakeConnect | public void fakeConnect()(Code) | | |
getPort | public int getPort()(Code) | | |
isOnline | public boolean isOnline()(Code) | | |
listenForInfoFromSlave | public void listenForInfoFromSlave()(Code) | | |
Methods inherited from org.drftpd.master.RemoteSlave | public void addMask(String mask) throws DuplicateElementException(Code)(Java Doc) final public void addNetworkError(SocketException e)(Code)(Java Doc) protected void addQueueDelete(String fileName)(Code)(Java Doc) protected void addQueueRename(String fileName, String destName)(Code)(Java Doc) public synchronized void addTransfer(TransferIndex transferIndex, RemoteTransfer transfer)(Code)(Java Doc) public boolean checkConnect(Socket socket) throws MalformedPatternException(Code)(Java Doc) public void commit()(Code)(Java Doc) final public int compareTo(RemoteSlave o)(Code)(Java Doc) public synchronized void connect(Socket socket, ObjectInputStream in, ObjectOutputStream out) throws IOException(Code)(Java Doc) final public boolean equals(Object obj)(Code)(Java Doc) public long fetchChecksumFromIndex(String index) throws RemoteIOException, SlaveUnavailableException(Code)(Java Doc) public String fetchDIZFileFromIndex(String index) throws RemoteIOException, SlaveUnavailableException(Code)(Java Doc) public ID3Tag fetchID3TagFromIndex(String index) throws RemoteIOException, SlaveUnavailableException(Code)(Java Doc) public int fetchMaxPathFromIndex(String maxPathIndex) throws SlaveUnavailableException(Code)(Java Doc) public void fetchRemergeResponseFromIndex(String index) throws IOException, SlaveUnavailableException(Code)(Java Doc) public AsyncResponse fetchResponse(String index) throws SlaveUnavailableException, RemoteIOException(Code)(Java Doc) public synchronized AsyncResponse fetchResponse(String index, int wait) throws SlaveUnavailableException, RemoteIOException(Code)(Java Doc) public LightSFVFile fetchSFVFileFromIndex(String index) throws RemoteIOException, SlaveUnavailableException(Code)(Java Doc) public ConnectInfo fetchTransferResponseFromIndex(String index) throws RemoteIOException, SlaveUnavailableException(Code)(Java Doc) public GlobalContext getGlobalContext()(Code)(Java Doc) final public long getLastDownloadSending()(Code)(Java Doc) public long getLastTimeOnline()(Code)(Java Doc) final public long getLastTransfer()(Code)(Java Doc) public long getLastTransferForDirection(char dir)(Code)(Java Doc) final public long getLastUploadReceiving()(Code)(Java Doc) public HostMaskCollection getMasks()(Code)(Java Doc) public String getName()(Code)(Java Doc) public synchronized String getPASVIP() throws SlaveUnavailableException(Code)(Java Doc) public int getPort()(Code)(Java Doc) public Properties getProperties()(Code)(Java Doc) public String getProperty(String name, String def)(Code)(Java Doc) public String getProperty(String key)(Code)(Java Doc) public long getReceivedBytes()(Code)(Java Doc) public LinkedList<QueuedOperation> getRenameQueue()(Code)(Java Doc) public long getSentBytes()(Code)(Java Doc) public static String getSlaveNameFromObjectInput(ObjectInputStream in) throws IOException(Code)(Java Doc) public synchronized SlaveStatus getSlaveStatus() throws SlaveUnavailableException(Code)(Java Doc) public synchronized SlaveStatus getSlaveStatusAvailable() throws SlaveUnavailableException(Code)(Java Doc) public synchronized RemoteTransfer getTransfer(TransferIndex transferIndex) throws SlaveUnavailableException(Code)(Java Doc) public synchronized Collection<RemoteTransfer> getTransfers() throws SlaveUnavailableException(Code)(Java Doc) final public int hashCode()(Code)(Java Doc) public void init(GlobalContext globalContext)(Code)(Java Doc) public synchronized boolean isAvailable()(Code)(Java Doc) public boolean isAvailablePing()(Code)(Java Doc) public boolean isMemberOf(String string)(Code)(Java Doc) public synchronized boolean isOnline()(Code)(Java Doc) public void issueAbortToSlave(TransferIndex transferIndex, String reason) throws SlaveUnavailableException(Code)(Java Doc) public String issueChecksumToSlave(String string) throws SlaveUnavailableException(Code)(Java Doc) public String issueConnectToSlave(String ip, int port, boolean encryptedDataChannel, boolean useSSLClientHandshake) throws SlaveUnavailableException(Code)(Java Doc) public String issueDIZFileToSlave(LinkedRemoteFileInterface file) throws SlaveUnavailableException(Code)(Java Doc) public String issueDeleteToSlave(String sourceFile) throws SlaveUnavailableException(Code)(Java Doc) public String issueID3TagToSlave(String path) throws SlaveUnavailableException(Code)(Java Doc) public String issueListenToSlave(boolean isSecureTransfer, boolean useSSLClientMode) throws SlaveUnavailableException(Code)(Java Doc) public String issueMaxPathToSlave() throws SlaveUnavailableException(Code)(Java Doc) public String issueReceiveToSlave(String name, char c, long position, TransferIndex tindex) throws SlaveUnavailableException(Code)(Java Doc) public String issueRemergeToSlave(String path) throws SlaveUnavailableException(Code)(Java Doc) public String issueRenameToSlave(String from, String toDirPath, String toName) throws SlaveUnavailableException(Code)(Java Doc) public String issueSFVFileToSlave(String path) throws SlaveUnavailableException(Code)(Java Doc) public String issueSendToSlave(String name, char c, long position, TransferIndex tindex) throws SlaveUnavailableException(Code)(Java Doc) public String issueStatusToSlave() throws SlaveUnavailableException(Code)(Java Doc) public String moreInfo()(Code)(Java Doc) public void processQueue() throws IOException, SlaveUnavailableException(Code)(Java Doc) final public boolean removeMask(String mask)(Code)(Java Doc) public String removeProperty(String key) throws KeyNotFoundException(Code)(Java Doc) final public static Hashtable rslavesToHashtable(Collection rslaves)(Code)(Java Doc) public void run()(Code)(Java Doc) public synchronized void setAvailable(boolean available)(Code)(Java Doc) final public void setLastDirection(char direction, long l)(Code)(Java Doc) final public void setLastDownloadSending(long lastDownloadSending)(Code)(Java Doc) final public void setLastUploadReceiving(long lastUploadReceiving)(Code)(Java Doc) public void setMasks(HostMaskCollection masks)(Code)(Java Doc) public void setOffline(String reason)(Code)(Java Doc) public void setOffline(Throwable t)(Code)(Java Doc) public void setProperties(Properties keysAndValues)(Code)(Java Doc) public void setProperty(String name, String value)(Code)(Java Doc) public void setRenameQueue(LinkedList<QueuedOperation> renameQueue)(Code)(Java Doc) public void shutdown()(Code)(Java Doc) public void simpleDelete(String path)(Code)(Java Doc) public void simpleRename(String from, String toDirPath, String toName)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|