/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
ListCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
24 * CommandHandler for the LIST command. Return the configured directory listing on the data
29 * The interpretation of the value returned from this command is dependent upon the value returned
30 * by the SYST command. The format of the directory listing should match the format associated with
31 * the system named by the SYST command. For example, if the SYST command returns "WINDOWS", then [all...] |
NlstCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
24 * CommandHandler for the NLST command. Return the configured directory listing on the data
32 * invocation (the first command parameter); this parameter is optional, so the value may be null.
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord) [all...] |
StorCommandHandler.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.Command;
20 import org.mockftpserver.core.command.CommandHandler;
21 import org.mockftpserver.core.command.InvocationRecord;
25 * CommandHandler for the STOR (Store) command. Send back two replies on the control connection: a
30 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
46 * @see org.mockftpserver.stub.command.AbstractStubDataCommandHandler#beforeProcessData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord) [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AborCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
37 final Command COMMAND = new Command(CommandNames.ABOR, EMPTY);
42 commandHandler.handleCommand(COMMAND, session);
52 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp() [all...] |
ConnectCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.ConnectCommandHandler;
33 private Command command1;
53 * @see org.mockftpserver.stub.command.AbstractCommandHandlerTest#setUp()
59 command1 = new Command(CommandNames.CONNECT, EMPTY);
|
NoopCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.NoopCommandHandler;
38 final Command COMMAND = new Command(CommandNames.NOOP, EMPTY);
43 commandHandler.handleCommand(COMMAND, session); [all...] |
PwdCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.PwdCommandHandler;
45 final Command COMMAND = new Command(CommandNames.PWD, EMPTY);
47 commandHandler.handleCommand(COMMAND, session); [all...] |
QuitCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandNames;
20 import org.mockftpserver.core.command.ReplyCodes;
21 import org.mockftpserver.stub.command.QuitCommandHandler;
38 final Command COMMAND = new Command(CommandNames.QUIT, EMPTY);
44 commandHandler.handleCommand(COMMAND, session); [all...] |
/external/autotest/frontend/client/src/autotest/common/ui/ |
ContextMenu.java | 4 import com.google.gwt.user.client.Command; 17 private class CommandWrapper implements Command { 18 private Command command; field in class:ContextMenu.CommandWrapper 20 CommandWrapper(Command command) { 21 this.command = command; 26 command.execute(); 36 public MenuItem addItem(String text, Command cmd) [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AcctCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 68 Command createValidCommand() { 69 return new Command(CommandNames.ACCT, [ACCOUNT_NAME])
|
HelpCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 56 // Reply text includes the message text and the passed-in command as a message parameter 68 Command createValidCommand() { 69 return new Command(CommandNames.HELP, [])
|
ReinCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 60 Command createValidCommand() { 61 return new Command(CommandNames.REIN, [])
|
StorCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 65 Command createValidCommand() { 66 return new Command(CommandNames.STOR, [FILE])
|
StouCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 51 // This command always stores a new (unique) file, so this test does not apply 61 Command createValidCommand() { 62 return new Command(CommandNames.STOU, [])
|
TypeCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command 18 import org.mockftpserver.core.command.Command 19 import org.mockftpserver.core.command.CommandHandler 20 import org.mockftpserver.core.command.CommandNames 21 import org.mockftpserver.core.command.ReplyCodes 58 Command createValidCommand() { 59 return new Command(CommandNames.TYPE, ['A'])
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
StatCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
43 final Command COMMAND = new Command(CommandNames.STAT, EMPTY);
45 commandHandler.handleCommand(COMMAND, session);
61 final Command COMMAND = new Command(CommandNames.STAT, array(PATHNAME)); [all...] |
/external/clang/lib/AST/ |
CommentCommandTraits.cpp | 1 //===--- CommentCommandTraits.cpp - Comment command properties --*- C++ -*-===// 48 // Single-character command impostures, such as \t or \n, should not go 59 auto ConsiderCorrection = [&](const CommandInfo *Command) { 60 StringRef Name = Command->Name; 70 BestCommand.push_back(Command); 74 for (const auto &Command : Commands) 75 ConsiderCorrection(&Command); 77 for (const auto *Command : RegisteredCommands) 78 if (!Command->IsUnknownCommand) 79 ConsiderCorrection(Command); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AcctCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the ACCT command. Handler logic:
27 * <li>If this command was not preceded by a valid USER command, then reply with 503</li>
36 protected void handle(Command command, Session session) {
37 String accountName = command.getRequiredParameter(0); [all...] |
DeleCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
23 * CommandHandler for the DELE command. Handler logic:
38 protected void handle(Command command, Session session) {
40 String path = getRealPath(session, command.getRequiredParameter(0));
|
EpsvCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the EPSV command. Handler logic:
39 protected void handle(Command command, Session session) {
|
PwdCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the PWD command. Handler logic:
35 protected void handle(Command command, Session session) {
|
TypeCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the TYPE command. Handler logic:
35 protected void handle(Command command, Session session) {
37 String type = command.getRequiredParameter(0);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
AborCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the ABOR command. Return a reply code of 226.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
AbstractStorCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.InvocationRecord;
40 * @see AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
42 protected void processData(Command command, Session session, InvocationRecord invocationRecord) {
|
AcctCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the ACCT command. Send back a reply code of 230.
29 * <li>"acount" - the account submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |