Searched defs:session (Results 1 - 25 of 1631) sorted by relevance

1234567891011>>

/external/google-breakpad/src/common/windows/
H A Ddia_util.h39 // Find the debug stream of the given |name| in the given |session|. Returns
43 IDiaSession* session,
47 // given |session|. Returns true on success, false on error or if no such
49 bool FindTable(REFIID iid, IDiaSession* session, void** table);
52 // |InterfaceType| in the given |session|. Returns true on success, false on
56 bool FindTable(IDiaSession* session, InterfaceType** table) { argument
58 session,
/external/conscrypt/src/main/java/org/conscrypt/
H A DSSLClientSessionCache.java29 * session data is dependent upon the caller's implementation and is opaque to
35 * Gets data from a pre-existing session for a given server host and port.
39 * @return the session data or null if none is cached
45 * Stores session data for the given session.
47 * @param session to cache data for
49 * @throws NullPointerException if session, result of
50 * {@code session.getPeerHost()} or data is null
52 public void putSessionData(SSLSession session, byte[] sessionData); argument
H A DSSLServerSessionCache.java25 * a session started by a different server based on a session ID provided
30 * session data is dependent upon the caller's implementation and is opaque to
36 * Gets the session data for given session ID.
39 * @return the session data or null if none is cached
45 * Stores session data for the given session.
47 * @param session to cache data for
49 * @throws NullPointerException if session o
51 putSessionData(SSLSession session, byte[] sessionData) argument
[all...]
H A DServerSessionContext.java22 * Caches server sessions. Indexes by session ID. Users typically look up
35 // TODO remove SSL_CTX session cache limit so we can manage it
41 // Set a trivial session id context. OpenSSL uses this to make
53 protected void sessionRemoved(SSLSession session) {} argument
57 SSLSession session = super.getSession(sessionId);
58 if (session != null) {
59 return session;
66 session = toSession(data, null, -1);
67 if (session != null && session
78 putSession(SSLSession session) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/server/session/jmx/
H A DAbstractSessionManagerMBean.java19 package org.eclipse.jetty.server.session.jmx;
24 import org.eclipse.jetty.server.session.AbstractSessionManager;
25 import org.eclipse.jetty.server.session.SessionHandler;
/external/kernel-headers/original/uapi/linux/
H A Dif_pppolac.h29 __u16 tunnel, session; member in struct:sockaddr_pppolac::__anon6885
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
H A DCommandHandler.java18 import org.mockftpserver.core.session.Session;
30 * Handle the specified command for the session. This method is declared to throw
36 * @param session - the session on which the Command was submitted
40 public void handleCommand(Command command, Session session) throws Exception; argument
H A DConnectCommandHandler.java18 import org.mockftpserver.core.session.Session;
42 * @see AbstractTrackingCommandHandler#handleCommand(Command, org.mockftpserver.core.session.Session, InvocationRecord)
44 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { argument
45 sendReply(session);
H A DUnsupportedCommandHandler.java18 import org.mockftpserver.core.session.Session;
42 * @see org.mockftpserver.core.command.AbstractTrackingCommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
44 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) { argument
46 sendReply(session, command.getName());
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DAborCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
H A DAcctCommandHandler.java20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
28 * <li>Store the account name in the session and reply with 230</li>
36 protected void handle(Command command, Session session) { argument
38 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
40 session.setAttribute(SessionKeys.ACCOUNT_NAME, accountName);
41 sendReply(session, ReplyCodes.ACCT_OK, "acct", list(username));
H A DAlloCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
H A DCdupCommandHandler.java20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
29 * <li>Otherwise, reply with 200 and change the current directory stored in the session to the parent directory</li>
37 protected void handle(Command command, Session session) { argument
38 verifyLoggedIn(session);
39 String currentDirectory = (String) getRequiredSessionAttribute(session, SessionKeys.CURRENT_DIRECTORY);
47 verifyExecutePermission(session, path);
49 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
50 sendReply(session, ReplyCodes.CDUP_OK, "cdup", list(path));
H A DCwdCommandHandler.java20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * <li>Otherwise, reply with 250 and change the current directory stored in the session</li>
39 protected void handle(Command command, Session session) { argument
40 verifyLoggedIn(session);
41 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyExecutePermission(session, path);
50 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
51 sendReply(session, ReplyCodes.CWD_OK, "cwd", list(path));
H A DDeleCommandHandler.java20 import org.mockftpserver.core.session.Session;
38 protected void handle(Command command, Session session) { argument
39 verifyLoggedIn(session);
40 String path = getRealPath(session, command.getRequiredParameter(0));
46 verifyWritePermission(session, getFileSystem().getParent(path));
49 sendReply(session, ReplyCodes.DELE_OK, "dele", list(path));
H A DEprtCommandHandler.java20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) { argument
44 session.setClientDataHost(client.host);
45 session.setClientDataPort(client.port);
46 sendReply(session, ReplyCodes.EPRT_OK, "eprt");
H A DEpsvCommandHandler.java20 import org.mockftpserver.core.session.Session;
39 protected void handle(Command command, Session session) { argument
40 verifyLoggedIn(session);
41 int port = session.switchToPassiveMode();
42 InetAddress server = session.getServerHost();
44 sendReply(session, ReplyCodes.EPSV_OK, "epsv", list(Integer.toString(port)));
H A DHelpCommandHandler.java20 import org.mockftpserver.core.session.Session;
44 protected void handle(Command command, Session session) { argument
49 sendReply(session, ReplyCodes.HELP_OK, "help.noHelpTextDefined", list(key));
51 sendReply(session, ReplyCodes.HELP_OK, "help", list(help));
H A DListCommandHandler.java20 import org.mockftpserver.core.session.Session;
49 protected void handle(Command command, Session session) { argument
50 verifyLoggedIn(session);
51 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK);
53 String path = getRealPath(session, command.getParameter(0));
58 verifyReadPermission(session, path);
72 session.openDataConnection();
74 session.sendData(result.getBytes(), result.length());
75 session.closeDataConnection();
77 sendReply(session, ReplyCode
[all...]
H A DMkdCommandHandler.java20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) { argument
41 verifyLoggedIn(session);
42 String path = getRealPath(session, command.getRequiredParameter(0));
50 verifyWritePermission(session, parent);
53 verifyExecutePermission(session, parent);
57 dirEntry.setPermissions(getUserAccount(session).getDefaultPermissionsForNewDirectory());
59 sendReply(session, ReplyCodes.MKD_OK, "mkd", list(path));
H A DModeCommandHandler.java20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) { argument
35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
H A DNlstCommandHandler.java20 import org.mockftpserver.core.session.Session;
47 protected void handle(Command command, Session session) { argument
48 verifyLoggedIn(session);
49 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK);
50 String path = getRealPath(session, command.getParameter(0));
55 verifyReadPermission(session, path);
63 session.openDataConnection();
64 session.sendData(directoryListing.getBytes(), directoryListing.length());
65 session.closeDataConnection();
67 sendReply(session, ReplyCode
[all...]
H A DNoopCommandHandler.java20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) { argument
34 sendReply(session, ReplyCodes.NOOP_OK, "noop");
H A DPassCommandHandler.java20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
39 protected void handle(Command command, Session session) { argument
41 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
43 if (validateUserAccount(username, session)) {
48 login(userAccount, session, replyCode, replyMessageKey);
50 sendReply(session, ReplyCodes.PASS_LOG_IN_FAILED, "pass.loginFailed");
H A DPasvCommandHandler.java20 import org.mockftpserver.core.session.Session;
41 protected void handle(Command command, Session session) { argument
42 verifyLoggedIn(session);
44 int port = session.switchToPassiveMode();
45 InetAddress server = session.getServerHost();
49 sendReply(session, ReplyCodes.PASV_OK, "pasv", list(hostAndPort));

Completed in 311 milliseconds

1234567891011>>