gnu.inet.imap
Interface UIDPlusHandler


public interface UIDPlusHandler

Callback interface for receiving APPENDUID and COPYUID responses. See RFC 2359 for details.

Author:
Chris Burdess

Method Summary
 void appenduid(long uidvalidity, long uid)
          Notification of an APPENDUID response.
 void copyuid(long uidvalidity, long oldUID, long newUID)
          Notification of a COPYUID response.
 

Method Detail

appenduid

void appenduid(long uidvalidity,
               long uid)
Notification of an APPENDUID response. Called on a successful APPEND to a server that supports the UIDPLUS extension.

Parameters:
uidvalidity - the UIDVALIDITY of the destination mailbox
uid - the UID assigned to the appended message.

copyuid

void copyuid(long uidvalidity,
             long oldUID,
             long newUID)
Notification of a COPYUID response. Called on a successful COPY to a server that supports the UIDPLUS extension. If more than one message is copied, this method will be called multiple times, once for each message copied.

Parameters:
uidvalidity - the UIDVALIDITY of the destination mailbox
oldUID - the UID of the message in the source mailbox
newUID - the UID of the corresponding message in the target mailbox


© Copyright 2003 The Free Software Foundation, all rights reserved