Source Code Cross Referenced for DummyRemoteSlave.java in  » Net » DrFTPD » org » drftpd » tests » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » DrFTPD » org.drftpd.tests 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.drftpd.tests;
002:
003:        import net.sf.drftpd.SlaveUnavailableException;
004:
005:        import org.drftpd.GlobalContext;
006:        import org.drftpd.LightSFVFile;
007:        import org.drftpd.SFVFile;
008:
009:        import org.drftpd.id3.ID3Tag;
010:        import org.drftpd.master.RemoteSlave;
011:        import org.drftpd.master.RemoteTransfer;
012:        import org.drftpd.remotefile.LinkedRemoteFile;
013:        import org.drftpd.slave.RemoteIOException;
014:        import org.drftpd.slave.SlaveStatus;
015:        import org.drftpd.slave.TransferIndex;
016:        import org.drftpd.slave.async.AsyncResponse;
017:
018:        import java.io.BufferedReader;
019:        import java.io.IOException;
020:        import java.io.PrintWriter;
021:
022:        import java.net.InetAddress;
023:        import java.net.InetSocketAddress;
024:        import java.net.Socket;
025:
026:        /**
027:         * @author zubov
028:         * @version $Id: DummyRemoteSlave.java 1166 2005-03-31 03:12:35Z zubov $
029:         */
030:        public class DummyRemoteSlave extends RemoteSlave {
031:            public DummyRemoteSlave(String name, GlobalContext gctx) {
032:                super (name, gctx);
033:            }
034:
035:            public int getPort() {
036:                return 10;
037:            }
038:
039:            public void fakeConnect() {
040:                _errors = 0;
041:                _lastNetworkError = System.currentTimeMillis();
042:            }
043:
044:            public boolean isOnline() {
045:                // TODO Auto-generated method stub
046:                return false;
047:            }
048:
049:            public LinkedRemoteFile getSlaveRoot()
050:                    throws SlaveUnavailableException, IOException {
051:                // TODO Auto-generated method stub
052:                return null;
053:            }
054:
055:            public void listenForInfoFromSlave() {
056:                // TODO Auto-generated method stub
057:            }
058:
059:            public void connect(Socket socket, BufferedReader in)
060:                    throws IOException {
061:            }
062:
063:            public void disconnect() {
064:                // TODO Auto-generated method stub
065:            }
066:
067:            public int fetchMaxPathFromIndex(String maxPathIndex)
068:                    throws SlaveUnavailableException {
069:                // TODO Auto-generated method stub
070:                return 0;
071:            }
072:
073:            public AsyncResponse fetchResponse(String index)
074:                    throws SlaveUnavailableException {
075:                // TODO Auto-generated method stub
076:                return null;
077:            }
078:
079:            public SlaveStatus fetchStatusFromIndex(String statusIndex)
080:                    throws SlaveUnavailableException {
081:                // TODO Auto-generated method stub
082:                return null;
083:            }
084:
085:            public void fetchAbortFromIndex(String abortIndex)
086:                    throws IOException, SlaveUnavailableException {
087:                // TODO Auto-generated method stub
088:            }
089:
090:            public long fetchChecksumFromIndex(String index)
091:                    throws RemoteIOException, SlaveUnavailableException {
092:                // TODO Auto-generated method stub
093:                return 0;
094:            }
095:
096:            public ID3Tag fetchID3TagFromIndex(String index)
097:                    throws RemoteIOException, SlaveUnavailableException {
098:                // TODO Auto-generated method stub
099:                return null;
100:            }
101:
102:            public LightSFVFile fetchSFVFileFromIndex(String index)
103:                    throws RemoteIOException, SlaveUnavailableException {
104:                // TODO Auto-generated method stub
105:                return null;
106:            }
107:
108:            public String issueChecksumToSlave(String string)
109:                    throws SlaveUnavailableException {
110:                // TODO Auto-generated method stub
111:                return null;
112:            }
113:
114:            public String issueConnectToSlave(InetSocketAddress address,
115:                    boolean encryptedDataChannel)
116:                    throws SlaveUnavailableException {
117:                // TODO Auto-generated method stub
118:                return null;
119:            }
120:
121:            public String issueID3TagToSlave(String string)
122:                    throws SlaveUnavailableException {
123:                // TODO Auto-generated method stub
124:                return null;
125:            }
126:
127:            public String issueSFVFileToSlave(String string)
128:                    throws SlaveUnavailableException {
129:                // TODO Auto-generated method stub
130:                return null;
131:            }
132:
133:            public String issueListenToSlave(boolean encryptedDataChannel)
134:                    throws SlaveUnavailableException {
135:                // TODO Auto-generated method stub
136:                return null;
137:            }
138:
139:            public String issueMaxPathToSlave()
140:                    throws SlaveUnavailableException {
141:                // TODO Auto-generated method stub
142:                return null;
143:            }
144:
145:            public String issuePingToSlave() throws SlaveUnavailableException {
146:                // TODO Auto-generated method stub
147:                return null;
148:            }
149:
150:            public String issueReceiveToSlave(String name)
151:                    throws SlaveUnavailableException {
152:                // TODO Auto-generated method stub
153:                return null;
154:            }
155:
156:            public String issueTransferStatusToSlave(String transferIndex)
157:                    throws SlaveUnavailableException {
158:                // TODO Auto-generated method stub
159:                return null;
160:            }
161:
162:            public String issueAbortToSlave(RemoteTransfer transferIndex)
163:                    throws SlaveUnavailableException {
164:                // TODO Auto-generated method stub
165:                return null;
166:            }
167:
168:            public String issueSendToSlave(String name)
169:                    throws SlaveUnavailableException {
170:                // TODO Auto-generated method stub
171:                return null;
172:            }
173:
174:            public String issueStatusToSlave() throws SlaveUnavailableException {
175:                // TODO Auto-generated method stub
176:                return null;
177:            }
178:
179:            public RemoteTransfer fetchTransferIndexFromIndex(String index)
180:                    throws IOException, SlaveUnavailableException {
181:                // TODO Auto-generated method stub
182:                return null;
183:            }
184:
185:            public boolean transferIsUpdated(RemoteTransfer transferIndex) {
186:                // TODO Auto-generated method stub
187:                return false;
188:            }
189:
190:            public void run() {
191:                // TODO Auto-generated method stub
192:            }
193:
194:            public String issueDeleteToSlave(String sourceFile)
195:                    throws SlaveUnavailableException {
196:                // TODO Auto-generated method stub
197:                return null;
198:            }
199:
200:            public String issueRenameToSlave(String from, String toDirPath,
201:                    String toName) throws SlaveUnavailableException {
202:                // TODO Auto-generated method stub
203:                return null;
204:            }
205:
206:            public String issueTransferStatusToSlave(
207:                    RemoteTransfer transferIndex)
208:                    throws SlaveUnavailableException {
209:                // TODO Auto-generated method stub
210:                return null;
211:            }
212:
213:            public void issueAbortToSlave(TransferIndex transferIndex)
214:                    throws SlaveUnavailableException {
215:                // TODO Auto-generated method stub
216:            }
217:
218:            public String issueReceiveToSlave(String name, char c,
219:                    long position, TransferIndex index)
220:                    throws SlaveUnavailableException {
221:                // TODO Auto-generated method stub
222:                return null;
223:            }
224:
225:            public String issueSendToSlave(String name, char c, long position,
226:                    TransferIndex index) throws SlaveUnavailableException {
227:                // TODO Auto-generated method stub
228:                return null;
229:            }
230:
231:            public String issueTransferStatusToSlave(TransferIndex transferIndex)
232:                    throws SlaveUnavailableException {
233:                // TODO Auto-generated method stub
234:                return null;
235:            }
236:
237:            public boolean transferIsUpdated(TransferIndex transferIndex) {
238:                // TODO Auto-generated method stub
239:                return false;
240:            }
241:
242:            public void connect(Socket socket, BufferedReader reader,
243:                    PrintWriter writer) throws IOException {
244:                // TODO Auto-generated method stub
245:            }
246:
247:            /* (non-Javadoc)
248:             * @see net.sf.drftpd.master.RemoteSlave#issueRemergeToSlave()
249:             */
250:            public String issueRemergeToSlave()
251:                    throws SlaveUnavailableException {
252:                // TODO Auto-generated method stub
253:                return null;
254:            }
255:
256:            /* (non-Javadoc)
257:             * @see net.sf.drftpd.master.RemoteSlave#fetchRemergeResponseFromIndex(java.lang.String)
258:             */
259:            public void fetchRemergeResponseFromIndex(String index)
260:                    throws IOException, SlaveUnavailableException {
261:                // TODO Auto-generated method stub
262:            }
263:
264:            public void commit() {
265:                // TODO Auto-generated method stub
266:            }
267:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.