HomeSort by relevance Sort by last modified time
    Searched refs:DefaultSession (Results 1 - 9 of 9) sorted by null

  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DefaultSessionTest.java 40 * Tests for the DefaultSession class
55 private DefaultSession session;
87 new DefaultSession(null, commandHandlerMap);
100 new DefaultSession(stubSocket, null);
162 assertEquals("data port", DefaultSession.DEFAULT_CLIENT_DATA_PORT, stubSocketFactory.requestedDataPort);
456 * Create and return a DefaultSession object that reads from an InputStream with the specified
461 * @return the DefaultSession
463 private DefaultSession createDefaultSession(String inputStreamContents) {
465 return new DefaultSession(stubSocket, commandHandlerMap);
DefaultSession_RunTest.java 36 * Tests for the DefaultSession class that require the session (thread) to be running/active.
48 private DefaultSession session;
89 session = new DefaultSession(stubSocket, commandHandlerMap);
174 * Create and return a DefaultSession and define the specified CommandHandler. Also, save the
178 * @return the DefaultSession
180 private DefaultSession createDefaultSession(CommandHandler commandHandler) {
184 return new DefaultSession(stubSocket, commandHandlerMap);
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/
DefaultSessionTest.java 39 * Tests for the DefaultSession class
54 private DefaultSession session;
86 new DefaultSession(null, commandHandlerMap);
99 new DefaultSession(stubSocket, null);
161 assertEquals("data port", DefaultSession.DEFAULT_CLIENT_DATA_PORT, stubSocketFactory.requestedDataPort);
428 * Create and return a DefaultSession object that reads from an InputStream with the specified
433 * @return the DefaultSession
435 private DefaultSession createDefaultSession(String inputStreamContents) {
437 return new DefaultSession(stubSocket, commandHandlerMap);
DefaultSession_RunTest.java 33 import org.mockftpserver.core.session.DefaultSession;
41 * Tests for the DefaultSession class that require the session (thread) to be running/active.
54 private DefaultSession session;
179 * Create and return a DefaultSession object that reads from an InputStream with the specified
184 * @return the DefaultSession
186 private DefaultSession createDefaultSession(CommandHandler commandHandler) {
202 return new DefaultSession(stubSocket, commandHandlerMap);
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/server/
AbstractFtpServerTestCase.java 22 import org.mockftpserver.core.session.DefaultSession;
146 assertEquals(ftpServer.createSession(new Socket()).getClass(), DefaultSession.class);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DefaultSession.java 56 public class DefaultSession implements Session {
58 private static final Logger LOG = LoggerFactory.getLogger(DefaultSession.class);
86 public DefaultSession(Socket controlSocket, Map commandHandlers) {
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/
DefaultSession.java 56 public class DefaultSession implements Session {
58 private static final Logger LOG = Logger.getLogger(DefaultSession.class);
86 public DefaultSession(Socket controlSocket, Map commandHandlers) {
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
AbstractFtpServer.java 23 import org.mockftpserver.core.session.DefaultSession;
346 return new DefaultSession(clientSocket, commandHandlers);
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/
StubFtpServer.java 34 import org.mockftpserver.core.session.DefaultSession;
249 DefaultSession session = new DefaultSession(clientSocket, commandHandlers);

Completed in 66 milliseconds