Examples of ExpungeResponse


Examples of org.apache.james.imap.message.response.ExpungeResponse

    public boolean isAcceptable(ImapMessage message) {
        return (message instanceof ExpungeResponse);
    }

    protected void doEncode(ImapMessage acceptableMessage, ImapResponseComposer composer, ImapSession session) throws IOException {
        final ExpungeResponse expungeResponse = (ExpungeResponse) acceptableMessage;
        final int messageSequenceNumber = expungeResponse.getMessageSequenceNumber();
        composer.untagged().message(messageSequenceNumber).message(EXPUNGE).end();
    }
View Full Code Here

Examples of org.apache.james.imap.message.response.ExpungeResponse

            // we need to remove the message in the loop to the sequence numbers
            // are updated correctly.
            // See 7.4.1. EXPUNGE Response
            final int msn = selected.remove(uidValue);
            ExpungeResponse response = new ExpungeResponse(msn);
            responder.respond(response);
        }
    }
View Full Code Here

Examples of org.apache.james.imap.message.response.ExpungeResponse

            // we need to remove the message in the loop to the sequence numbers
            // are updated correctly.
            // See 7.4.1. EXPUNGE Response
            final int msn = selected.remove(uidValue);
            // TODO: use factory
            ExpungeResponse response = new ExpungeResponse(msn);
            responder.respond(response);
        }
    }
View Full Code Here

Examples of org.apache.james.imap.message.response.ExpungeResponse

    public boolean isAcceptable(ImapMessage message) {
        return (message instanceof ExpungeResponse);
    }

    protected void doEncode(ImapMessage acceptableMessage, ImapResponseComposer composer, ImapSession session) throws IOException {
        final ExpungeResponse expungeResponse = (ExpungeResponse) acceptableMessage;
        final int messageSequenceNumber = expungeResponse.getMessageSequenceNumber();
        composer.expungeResponse(messageSequenceNumber);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.