Package org.apache.james.protocols.api.logger

Examples of org.apache.james.protocols.api.logger.ProtocolSessionLogger


    private final static Charset CHARSET = Charset.forName("US-ASCII");
    private final static String DELIMITER = "\r\n";
   
    public ProtocolSessionImpl(Logger logger, ProtocolTransport transport, ProtocolConfiguration config) {
        this.transport = transport;
        this.pLog = new ProtocolSessionLogger(transport.getId(), logger);
        this.connectionState = new HashMap<String, Object>();
        this.sessionState = new HashMap<String, Object>();
        this.config = config;

    }
View Full Code Here


        this.compress = compress;
        this.plainAuthDisallowed = plainAuthDisallowed;
    }

    private Logger getLogger(Channel channel) {
        return new Slf4jLoggerAdapter(new ProtocolSessionLogger("" + channel.getId(), new ProtocolLoggerAdapter(logger)));
    }
View Full Code Here

    private int handlerCount;
    private final boolean plainAuthDisallowed;

    public NettyImapSession(Channel channel, Logger log, SSLContext sslContext, String[] enabledCipherSuites, boolean compress, boolean plainAuthDisallowed) {
        this.channel = channel;
        this.log = new ProtocolSessionLogger(channel.getId() + "", new ProtocolLoggerAdapter(log));
        this.sslContext = sslContext;
        this.enabledCipherSuites = enabledCipherSuites;
        this.compress = compress;
        this.plainAuthDisallowed = plainAuthDisallowed;
    }
View Full Code Here

TOP

Related Classes of org.apache.james.protocols.api.logger.ProtocolSessionLogger

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.