/** * Because there are so many connect() methods, the _connectAction_() method is provided as a * means of performing some action immediately after establishing a connection, rather than * reimplementing all of the connect() methods. * * @throws IOException If it throw by _connectAction_. * @see org.apache.commons.net.SocketClient#_connectAction_() */ @Override protected void _connectAction_() throws IOException { // Implicit mode. if (isImplicit) { sslNegotiation(); } super._connectAction_(); // Explicit mode. if (!isImplicit) { execAUTH(); sslNegotiation(); } }