Package mireka.pop

Examples of mireka.pop.Pop3Exception


    public void execute(CommandParser commandParser) throws IOException,
            Pop3Exception {
        if (session.getSessionState() != AUTHORIZATION)
            throw new IllegalSessionStateException();
        if (session.isTlsStarted())
            throw new Pop3Exception(null,
                    "Command not permitted when TLS active");
        session.getThread().sendResponse("+OK Begin TLS negotiation");
        SSLSocket sslSocket =
                session.getServer().getTlsConfiguration()
                        .createSSLSocket(session.getThread().getSocket());
View Full Code Here

TOP

Related Classes of mireka.pop.Pop3Exception

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.