See paste below from AcceptorSessionProvider. The parameter connector is absent from the javadoc, and it's not clear what it's for. As it's an interface, the parameter's purpose should be documented.
From the two instantiations of this interface (DynamicAcceptorSessionProvider and AbstractSocketAcceptor::StaticAcceptorSessionProvider), it appears this parameter is only used for dynamic sessions and is otherwise ignored.
/**
- Return a session for this sessionID. The session might be
- created dynamically.
- @param sessionID
- @return the associated session or null if no session can be
- associated with the given ID.
*/
Session getSession(SessionID sessionID, SessionConnector connector);
|