// Chilkat Objective-C header.
// This is a generated header file for Chilkat version 11.5.0

// Generic/internal class name =  Imap
// Wrapped Chilkat C++ class name =  CkImap

@class CkoBinData;
@class CkoEmail;
@class CkoTask;
@class CkoStringBuilder;
@class CkoMessageSet;
@class CkoEmailBundle;
@class CkoStringArray;
@class CkoCert;
@class CkoMailboxes;
@class CkoSecureString;
@class CkoJsonObject;
@class CkoPrivateKey;
@class CkoSshKey;
@class CkoXmlCertVault;
@class CkoSsh;
@class CkoSocket;


@class CkoBaseProgress;

@interface CkoImap : NSObject {

	@private
		void *m_eventCallback;
		void *m_obj;

}

- (id)init;
- (void)dealloc;
- (void)dispose;
- (NSString *)stringWithUtf8: (const char *)s;
- (void *)CppImplObj;
- (void)setCppImplObj: (void *)pObj;

- (void)clearCppImplObj;

// property setter: EventCallbackObject
- (void)setEventCallbackObject: (CkoBaseProgress *)eventObj;

@property (nonatomic) BOOL AbortCurrent;
@property (nonatomic) BOOL AppendSeen;
@property (nonatomic, readonly, copy) NSNumber *AppendUid;
@property (nonatomic, copy) NSString *AuthMethod;
@property (nonatomic, copy) NSString *AuthzId;
@property (nonatomic) BOOL AutoDownloadAttachments;
@property (nonatomic) BOOL AutoFix;
@property (nonatomic, copy) NSString *ClientIpAddress;
@property (nonatomic, readonly, copy) NSString *ConnectedToHost;
@property (nonatomic, copy) NSNumber *ConnectTimeout;
@property (nonatomic, copy) NSString *DebugLogFilePath;
@property (nonatomic, copy) NSString *Domain;
@property (nonatomic) BOOL EnableSecrets;
@property (nonatomic, copy) NSNumber *HeartbeatMs;
@property (nonatomic, readonly, copy) NSString *HighestModSeq;
@property (nonatomic, copy) NSString *HttpProxyAuthMethod;
@property (nonatomic, copy) NSString *HttpProxyDomain;
@property (nonatomic, copy) NSString *HttpProxyHostname;
@property (nonatomic, copy) NSString *HttpProxyPassword;
@property (nonatomic, copy) NSNumber *HttpProxyPort;
@property (nonatomic, copy) NSString *HttpProxyUsername;
@property (nonatomic) BOOL KeepSessionLog;
@property (nonatomic, readonly, copy) NSString *LastAppendedMime;
@property (nonatomic, readonly, copy) NSString *LastCommand;
@property (nonatomic, readonly, copy) NSString *LastErrorHtml;
@property (nonatomic, readonly, copy) NSString *LastErrorText;
@property (nonatomic, readonly, copy) NSString *LastErrorXml;
@property (nonatomic, readonly, copy) NSString *LastIntermediateResponse;
@property (nonatomic) BOOL LastMethodSuccess;
@property (nonatomic, readonly, copy) NSString *LastResponse;
@property (nonatomic, readonly, copy) NSString *LastResponseCode;
@property (nonatomic, readonly, copy) NSString *LoggedInUser;
@property (nonatomic, readonly, copy) NSNumber *NumMessages;
@property (nonatomic) BOOL PeekMode;
@property (nonatomic, copy) NSNumber *PercentDoneScale;
@property (nonatomic, copy) NSNumber *Port;
@property (nonatomic) BOOL PreferIpv6;
@property (nonatomic, copy) NSNumber *ReadTimeout;
@property (nonatomic) BOOL RequireSslCertVerify;
@property (nonatomic, copy) NSString *SearchCharset;
@property (nonatomic, readonly, copy) NSString *SelectedMailbox;
@property (nonatomic, copy) NSNumber *SendBufferSize;
@property (nonatomic, copy) NSString *SeparatorChar;
@property (nonatomic, readonly, copy) NSString *SessionLog;
@property (nonatomic, copy) NSString *SocksHostname;
@property (nonatomic, copy) NSString *SocksPassword;
@property (nonatomic, copy) NSNumber *SocksPort;
@property (nonatomic, copy) NSString *SocksUsername;
@property (nonatomic, copy) NSNumber *SocksVersion;
@property (nonatomic, copy) NSNumber *SoRcvBuf;
@property (nonatomic, copy) NSString *SortCriteria;
@property (nonatomic, copy) NSNumber *SoSndBuf;
@property (nonatomic) BOOL Ssl;
@property (nonatomic, copy) NSString *SslAllowedCiphers;
@property (nonatomic, copy) NSString *SslProtocol;
@property (nonatomic, readonly) BOOL SslServerCertVerified;
@property (nonatomic) BOOL StartTls;
@property (nonatomic, readonly, copy) NSString *TlsCipherSuite;
@property (nonatomic, copy) NSString *TlsPinSet;
@property (nonatomic, readonly, copy) NSString *TlsVersion;
@property (nonatomic, readonly, copy) NSNumber *UidNext;
@property (nonatomic, readonly, copy) NSNumber *UidValidity;
@property (nonatomic, copy) NSString *UncommonOptions;
@property (nonatomic) BOOL VerboseLogging;
@property (nonatomic, readonly, copy) NSString *Version;
// method: AddPfxSourceBd
- (BOOL)AddPfxSourceBd: (CkoBinData *)bd 
	password: (NSString *)password;
// method: AddPfxSourceData
- (BOOL)AddPfxSourceData: (NSData *)pfxData 
	password: (NSString *)password;
// method: AddPfxSourceFile
- (BOOL)AddPfxSourceFile: (NSString *)pfxFilePath 
	password: (NSString *)password;
// method: AppendMail
- (BOOL)AppendMail: (NSString *)mailbox 
	email: (CkoEmail *)email;
// method: AppendMailAsync
- (CkoTask *)AppendMailAsync: (NSString *)mailbox 
	email: (CkoEmail *)email;
// method: AppendMime
- (BOOL)AppendMime: (NSString *)mailbox 
	mimeText: (NSString *)mimeText;
// method: AppendMimeAsync
- (CkoTask *)AppendMimeAsync: (NSString *)mailbox 
	mimeText: (NSString *)mimeText;
// method: AppendMimeWithDateStr
- (BOOL)AppendMimeWithDateStr: (NSString *)mailbox 
	mimeText: (NSString *)mimeText 
	internalDateStr: (NSString *)internalDateStr;
// method: AppendMimeWithDateStrAsync
- (CkoTask *)AppendMimeWithDateStrAsync: (NSString *)mailbox 
	mimeText: (NSString *)mimeText 
	internalDateStr: (NSString *)internalDateStr;
// method: AppendMimeWithFlags
- (BOOL)AppendMimeWithFlags: (NSString *)mailbox 
	mimeText: (NSString *)mimeText 
	seen: (BOOL)seen 
	flagged: (BOOL)flagged 
	answered: (BOOL)answered 
	draft: (BOOL)draft;
// method: AppendMimeWithFlagsAsync
- (CkoTask *)AppendMimeWithFlagsAsync: (NSString *)mailbox 
	mimeText: (NSString *)mimeText 
	seen: (BOOL)seen 
	flagged: (BOOL)flagged 
	answered: (BOOL)answered 
	draft: (BOOL)draft;
// method: AppendMimeWithFlagsSb
- (BOOL)AppendMimeWithFlagsSb: (NSString *)mailbox 
	sbMime: (CkoStringBuilder *)sbMime 
	seen: (BOOL)seen 
	flagged: (BOOL)flagged 
	answered: (BOOL)answered 
	draft: (BOOL)draft;
// method: AppendMimeWithFlagsSbAsync
- (CkoTask *)AppendMimeWithFlagsSbAsync: (NSString *)mailbox 
	sbMime: (CkoStringBuilder *)sbMime 
	seen: (BOOL)seen 
	flagged: (BOOL)flagged 
	answered: (BOOL)answered 
	draft: (BOOL)draft;
// method: Capability
- (NSString *)Capability;
// method: CapabilityAsync
- (CkoTask *)CapabilityAsync;
// method: CheckConnection
- (BOOL)CheckConnection;
// method: CheckForNewEmail
- (CkoMessageSet *)CheckForNewEmail;
// method: CheckForNewEmailAsync
- (CkoTask *)CheckForNewEmailAsync;
// method: ClearSessionLog
- (void)ClearSessionLog;
// method: CloseMailbox
- (BOOL)CloseMailbox: (NSString *)mailbox;
// method: CloseMailboxAsync
- (CkoTask *)CloseMailboxAsync: (NSString *)mailbox;
// method: Connect
- (BOOL)Connect: (NSString *)hostname;
// method: ConnectAsync
- (CkoTask *)ConnectAsync: (NSString *)hostname;
// method: Copy
- (BOOL)Copy: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CopyAsync
- (CkoTask *)CopyAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CopyMultiple
- (BOOL)CopyMultiple: (CkoMessageSet *)messageSet 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CopyMultipleAsync
- (CkoTask *)CopyMultipleAsync: (CkoMessageSet *)messageSet 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CopySequence
- (BOOL)CopySequence: (NSNumber *)startSeqNum 
	count: (NSNumber *)count 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CopySequenceAsync
- (CkoTask *)CopySequenceAsync: (NSNumber *)startSeqNum 
	count: (NSNumber *)count 
	copyToMailbox: (NSString *)copyToMailbox;
// method: CreateMailbox
- (BOOL)CreateMailbox: (NSString *)mailbox;
// method: CreateMailboxAsync
- (CkoTask *)CreateMailboxAsync: (NSString *)mailbox;
// method: DeleteMailbox
- (BOOL)DeleteMailbox: (NSString *)mailbox;
// method: DeleteMailboxAsync
- (CkoTask *)DeleteMailboxAsync: (NSString *)mailbox;
// method: Disconnect
- (BOOL)Disconnect;
// method: DisconnectAsync
- (CkoTask *)DisconnectAsync;
// method: ExamineMailbox
- (BOOL)ExamineMailbox: (NSString *)mailbox;
// method: ExamineMailboxAsync
- (CkoTask *)ExamineMailboxAsync: (NSString *)mailbox;
// method: Expunge
- (BOOL)Expunge;
// method: ExpungeAsync
- (CkoTask *)ExpungeAsync;
// method: ExpungeAndClose
- (BOOL)ExpungeAndClose;
// method: ExpungeAndCloseAsync
- (CkoTask *)ExpungeAndCloseAsync;
// method: FetchAttachment
- (BOOL)FetchAttachment: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex 
	saveToPath: (NSString *)saveToPath;
// method: FetchAttachmentAsync
- (CkoTask *)FetchAttachmentAsync: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex 
	saveToPath: (NSString *)saveToPath;
// method: FetchAttachmentBd
- (BOOL)FetchAttachmentBd: (CkoEmail *)email 
	attachmentIndex: (NSNumber *)attachmentIndex 
	binData: (CkoBinData *)binData;
// method: FetchAttachmentBdAsync
- (CkoTask *)FetchAttachmentBdAsync: (CkoEmail *)email 
	attachmentIndex: (NSNumber *)attachmentIndex 
	binData: (CkoBinData *)binData;
// method: FetchAttachmentBytes
- (NSData *)FetchAttachmentBytes: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex;
// method: FetchAttachmentBytesAsync
- (CkoTask *)FetchAttachmentBytesAsync: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex;
// method: FetchAttachmentSb
- (BOOL)FetchAttachmentSb: (CkoEmail *)email 
	attachmentIndex: (NSNumber *)attachmentIndex 
	charset: (NSString *)charset 
	sb: (CkoStringBuilder *)sb;
// method: FetchAttachmentSbAsync
- (CkoTask *)FetchAttachmentSbAsync: (CkoEmail *)email 
	attachmentIndex: (NSNumber *)attachmentIndex 
	charset: (NSString *)charset 
	sb: (CkoStringBuilder *)sb;
// method: FetchAttachmentString
- (NSString *)FetchAttachmentString: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex 
	charset: (NSString *)charset;
// method: FetchAttachmentStringAsync
- (CkoTask *)FetchAttachmentStringAsync: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex 
	charset: (NSString *)charset;
// method: FetchBundle
- (CkoEmailBundle *)FetchBundle: (CkoMessageSet *)messageSet;
// method: FetchBundleAsync
- (CkoTask *)FetchBundleAsync: (CkoMessageSet *)messageSet;
// method: FetchBundleAsMime
- (CkoStringArray *)FetchBundleAsMime: (CkoMessageSet *)messageSet;
// method: FetchBundleAsMimeAsync
- (CkoTask *)FetchBundleAsMimeAsync: (CkoMessageSet *)messageSet;
// method: FetchChunk
- (CkoEmailBundle *)FetchChunk: (NSNumber *)startSeqNum 
	count: (NSNumber *)count 
	failedSet: (CkoMessageSet *)failedSet 
	fetchedSet: (CkoMessageSet *)fetchedSet;
// method: FetchChunkAsync
- (CkoTask *)FetchChunkAsync: (NSNumber *)startSeqNum 
	count: (NSNumber *)count 
	failedSet: (CkoMessageSet *)failedSet 
	fetchedSet: (CkoMessageSet *)fetchedSet;
// method: FetchChunk2
- (BOOL)FetchChunk2: (NSNumber *)seqnum 
	count: (NSNumber *)count 
	failedSet: (CkoMessageSet *)failedSet 
	fetchedSet: (CkoMessageSet *)fetchedSet 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchChunk2Async
- (CkoTask *)FetchChunk2Async: (NSNumber *)seqnum 
	count: (NSNumber *)count 
	failedSet: (CkoMessageSet *)failedSet 
	fetchedSet: (CkoMessageSet *)fetchedSet 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchEmail
- (BOOL)FetchEmail: (BOOL)headerOnly 
	msgId: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	email: (CkoEmail *)email;
// method: FetchEmailAsync
- (CkoTask *)FetchEmailAsync: (BOOL)headerOnly 
	msgId: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	email: (CkoEmail *)email;
// method: FetchFlags
- (NSString *)FetchFlags: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchFlagsAsync
- (CkoTask *)FetchFlagsAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchHeaders
- (CkoEmailBundle *)FetchHeaders: (CkoMessageSet *)messageSet;
// method: FetchHeadersAsync
- (CkoTask *)FetchHeadersAsync: (CkoMessageSet *)messageSet;
// method: FetchMsgSet
- (BOOL)FetchMsgSet: (BOOL)headersOnly 
	msgSet: (CkoMessageSet *)msgSet 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchMsgSetAsync
- (CkoTask *)FetchMsgSetAsync: (BOOL)headersOnly 
	msgSet: (CkoMessageSet *)msgSet 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchRange
- (BOOL)FetchRange: (BOOL)headersOnly 
	seqnum: (NSNumber *)seqnum 
	count: (NSNumber *)count 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchRangeAsync
- (CkoTask *)FetchRangeAsync: (BOOL)headersOnly 
	seqnum: (NSNumber *)seqnum 
	count: (NSNumber *)count 
	bundle: (CkoEmailBundle *)bundle;
// method: FetchSequence
- (CkoEmailBundle *)FetchSequence: (NSNumber *)startSeqNum 
	numMessages: (NSNumber *)numMessages;
// method: FetchSequenceAsync
- (CkoTask *)FetchSequenceAsync: (NSNumber *)startSeqNum 
	numMessages: (NSNumber *)numMessages;
// method: FetchSequenceAsMime
- (CkoStringArray *)FetchSequenceAsMime: (NSNumber *)startSeqNum 
	count: (NSNumber *)count;
// method: FetchSequenceAsMimeAsync
- (CkoTask *)FetchSequenceAsMimeAsync: (NSNumber *)startSeqNum 
	count: (NSNumber *)count;
// method: FetchSequenceHeaders
- (CkoEmailBundle *)FetchSequenceHeaders: (NSNumber *)startSeqNum 
	numMessages: (NSNumber *)numMessages;
// method: FetchSequenceHeadersAsync
- (CkoTask *)FetchSequenceHeadersAsync: (NSNumber *)startSeqNum 
	numMessages: (NSNumber *)numMessages;
// method: FetchSingle
- (CkoEmail *)FetchSingle: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleAsync
- (CkoTask *)FetchSingleAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleAsMime
- (NSString *)FetchSingleAsMime: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleAsMimeAsync
- (CkoTask *)FetchSingleAsMimeAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleAsMimeSb
- (BOOL)FetchSingleAsMimeSb: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	sbMime: (CkoStringBuilder *)sbMime;
// method: FetchSingleAsMimeSbAsync
- (CkoTask *)FetchSingleAsMimeSbAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	sbMime: (CkoStringBuilder *)sbMime;
// method: FetchSingleBd
- (BOOL)FetchSingleBd: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	mimeData: (CkoBinData *)mimeData;
// method: FetchSingleBdAsync
- (CkoTask *)FetchSingleBdAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	mimeData: (CkoBinData *)mimeData;
// method: FetchSingleHeader
- (CkoEmail *)FetchSingleHeader: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleHeaderAsync
- (CkoTask *)FetchSingleHeaderAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid;
// method: FetchSingleHeaderAsMime
- (NSString *)FetchSingleHeaderAsMime: (NSNumber *)msgId 
	bUID: (BOOL)bUID;
// method: FetchSingleHeaderAsMimeAsync
- (CkoTask *)FetchSingleHeaderAsMimeAsync: (NSNumber *)msgId 
	bUID: (BOOL)bUID;
// method: GetAllUids
- (CkoMessageSet *)GetAllUids;
// method: GetAllUidsAsync
- (CkoTask *)GetAllUidsAsync;
// method: GetMailAttachFilename
- (NSString *)GetMailAttachFilename: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex;
// method: GetMailAttachSize
- (NSNumber *)GetMailAttachSize: (CkoEmail *)email 
	attachIndex: (NSNumber *)attachIndex;
// method: GetMailboxStatus
- (NSString *)GetMailboxStatus: (NSString *)mailbox;
// method: GetMailboxStatusAsync
- (CkoTask *)GetMailboxStatusAsync: (NSString *)mailbox;
// method: GetMailFlag
- (NSNumber *)GetMailFlag: (CkoEmail *)email 
	flagName: (NSString *)flagName;
// method: GetMailNumAttach
- (NSNumber *)GetMailNumAttach: (CkoEmail *)email;
// method: GetMailSize
- (NSNumber *)GetMailSize: (CkoEmail *)email;
// method: GetQuota
- (NSString *)GetQuota: (NSString *)quotaRoot;
// method: GetQuotaAsync
- (CkoTask *)GetQuotaAsync: (NSString *)quotaRoot;
// method: GetQuotaRoot
- (NSString *)GetQuotaRoot: (NSString *)mailboxName;
// method: GetQuotaRootAsync
- (CkoTask *)GetQuotaRootAsync: (NSString *)mailboxName;
// method: GetServerCert
- (BOOL)GetServerCert: (CkoCert *)cert;
// method: GetSslServerCert
- (CkoCert *)GetSslServerCert;
// method: HasCapability
- (BOOL)HasCapability: (NSString *)name 
	capabilityResponse: (NSString *)capabilityResponse;
// method: IdleCheck
- (NSString *)IdleCheck: (NSNumber *)timeoutMs;
// method: IdleCheckAsync
- (CkoTask *)IdleCheckAsync: (NSNumber *)timeoutMs;
// method: IdleDone
- (BOOL)IdleDone;
// method: IdleDoneAsync
- (CkoTask *)IdleDoneAsync;
// method: IdleStart
- (BOOL)IdleStart;
// method: IdleStartAsync
- (CkoTask *)IdleStartAsync;
// method: IsConnected
- (BOOL)IsConnected;
// method: IsLoggedIn
- (BOOL)IsLoggedIn;
// method: ListMailboxes
- (CkoMailboxes *)ListMailboxes: (NSString *)reference 
	wildcardedMailbox: (NSString *)wildcardedMailbox;
// method: ListMailboxesAsync
- (CkoTask *)ListMailboxesAsync: (NSString *)reference 
	wildcardedMailbox: (NSString *)wildcardedMailbox;
// method: ListSubscribed
- (CkoMailboxes *)ListSubscribed: (NSString *)reference 
	wildcardedMailbox: (NSString *)wildcardedMailbox;
// method: ListSubscribedAsync
- (CkoTask *)ListSubscribedAsync: (NSString *)reference 
	wildcardedMailbox: (NSString *)wildcardedMailbox;
// method: LoadTaskCaller
- (BOOL)LoadTaskCaller: (CkoTask *)task;
// method: Login
- (BOOL)Login: (NSString *)login 
	password: (NSString *)password;
// method: LoginAsync
- (CkoTask *)LoginAsync: (NSString *)login 
	password: (NSString *)password;
// method: LoginSecure
- (BOOL)LoginSecure: (CkoSecureString *)loginName 
	password: (CkoSecureString *)password;
// method: LoginSecureAsync
- (CkoTask *)LoginSecureAsync: (CkoSecureString *)loginName 
	password: (CkoSecureString *)password;
// method: Logout
- (BOOL)Logout;
// method: LogoutAsync
- (CkoTask *)LogoutAsync;
// method: MbxList
- (BOOL)MbxList: (BOOL)subscribed 
	reference: (NSString *)reference 
	mbxPattern: (NSString *)mbxPattern 
	mboxes: (CkoMailboxes *)mboxes;
// method: MbxListAsync
- (CkoTask *)MbxListAsync: (BOOL)subscribed 
	reference: (NSString *)reference 
	mbxPattern: (NSString *)mbxPattern 
	mboxes: (CkoMailboxes *)mboxes;
// method: MoveMessages
- (BOOL)MoveMessages: (CkoMessageSet *)messageSet 
	destFolder: (NSString *)destFolder;
// method: MoveMessagesAsync
- (CkoTask *)MoveMessagesAsync: (CkoMessageSet *)messageSet 
	destFolder: (NSString *)destFolder;
// method: Noop
- (BOOL)Noop;
// method: NoopAsync
- (CkoTask *)NoopAsync;
// method: QueryMbx
- (BOOL)QueryMbx: (NSString *)criteria 
	bUid: (BOOL)bUid 
	msgSet: (CkoMessageSet *)msgSet;
// method: QueryMbxAsync
- (CkoTask *)QueryMbxAsync: (NSString *)criteria 
	bUid: (BOOL)bUid 
	msgSet: (CkoMessageSet *)msgSet;
// method: QueryThread
- (BOOL)QueryThread: (NSString *)threadAlg 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid 
	json: (CkoJsonObject *)json;
// method: QueryThreadAsync
- (CkoTask *)QueryThreadAsync: (NSString *)threadAlg 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid 
	json: (CkoJsonObject *)json;
// method: RawCommandBd
- (BOOL)RawCommandBd: (CkoBinData *)bdCmd 
	bdResp: (CkoBinData *)bdResp;
// method: RawCommandBdAsync
- (CkoTask *)RawCommandBdAsync: (CkoBinData *)bdCmd 
	bdResp: (CkoBinData *)bdResp;
// method: RefetchMailFlags
- (BOOL)RefetchMailFlags: (CkoEmail *)emailInOut;
// method: RefetchMailFlagsAsync
- (CkoTask *)RefetchMailFlagsAsync: (CkoEmail *)emailInOut;
// method: RenameMailbox
- (BOOL)RenameMailbox: (NSString *)fromMailbox 
	toMailbox: (NSString *)toMailbox;
// method: RenameMailboxAsync
- (CkoTask *)RenameMailboxAsync: (NSString *)fromMailbox 
	toMailbox: (NSString *)toMailbox;
// method: Search
- (CkoMessageSet *)Search: (NSString *)criteria 
	bUid: (BOOL)bUid;
// method: SearchAsync
- (CkoTask *)SearchAsync: (NSString *)criteria 
	bUid: (BOOL)bUid;
// method: SelectMailbox
- (BOOL)SelectMailbox: (NSString *)mailbox;
// method: SelectMailboxAsync
- (CkoTask *)SelectMailboxAsync: (NSString *)mailbox;
// method: SendRawCommand
- (NSString *)SendRawCommand: (NSString *)rawCommand;
// method: SendRawCommandAsync
- (CkoTask *)SendRawCommandAsync: (NSString *)rawCommand;
// method: SendRawCommandB
- (NSData *)SendRawCommandB: (NSString *)cmd;
// method: SendRawCommandBAsync
- (CkoTask *)SendRawCommandBAsync: (NSString *)cmd;
// method: SendRawCommandC
- (NSData *)SendRawCommandC: (NSData *)cmd;
// method: SendRawCommandCAsync
- (CkoTask *)SendRawCommandCAsync: (NSData *)cmd;
// method: SetDecryptCert
- (BOOL)SetDecryptCert: (CkoCert *)cert;
// method: SetDecryptCert2
- (BOOL)SetDecryptCert2: (CkoCert *)cert 
	key: (CkoPrivateKey *)key;
// method: SetFlag
- (BOOL)SetFlag: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetFlagAsync
- (CkoTask *)SetFlagAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetFlags
- (BOOL)SetFlags: (CkoMessageSet *)messageSet 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetFlagsAsync
- (CkoTask *)SetFlagsAsync: (CkoMessageSet *)messageSet 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetMailFlag
- (BOOL)SetMailFlag: (CkoEmail *)email 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetMailFlagAsync
- (CkoTask *)SetMailFlagAsync: (CkoEmail *)email 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: SetQuota
- (BOOL)SetQuota: (NSString *)quotaRoot 
	resource: (NSString *)resource 
	quota: (NSNumber *)quota;
// method: SetQuotaAsync
- (CkoTask *)SetQuotaAsync: (NSString *)quotaRoot 
	resource: (NSString *)resource 
	quota: (NSNumber *)quota;
// method: SetSslClientCert
- (BOOL)SetSslClientCert: (CkoCert *)cert;
// method: SetSslClientCertPem
- (BOOL)SetSslClientCertPem: (NSString *)pemDataOrPath 
	pemPassword: (NSString *)pemPassword;
// method: SetSslClientCertPfx
- (BOOL)SetSslClientCertPfx: (NSString *)pfxPath 
	pfxPassword: (NSString *)pfxPassword;
// method: Sort
- (CkoMessageSet *)Sort: (NSString *)sortCriteria 
	charset: (NSString *)charset 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid;
// method: SortAsync
- (CkoTask *)SortAsync: (NSString *)sortCriteria 
	charset: (NSString *)charset 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid;
// method: SshAuthenticatePk
- (BOOL)SshAuthenticatePk: (NSString *)sshLogin 
	privateKey: (CkoSshKey *)privateKey;
// method: SshAuthenticatePkAsync
- (CkoTask *)SshAuthenticatePkAsync: (NSString *)sshLogin 
	privateKey: (CkoSshKey *)privateKey;
// method: SshAuthenticatePw
- (BOOL)SshAuthenticatePw: (NSString *)sshLogin 
	sshPassword: (NSString *)sshPassword;
// method: SshAuthenticatePwAsync
- (CkoTask *)SshAuthenticatePwAsync: (NSString *)sshLogin 
	sshPassword: (NSString *)sshPassword;
// method: SshCloseTunnel
- (BOOL)SshCloseTunnel;
// method: SshCloseTunnelAsync
- (CkoTask *)SshCloseTunnelAsync;
// method: SshOpenTunnel
- (BOOL)SshOpenTunnel: (NSString *)sshHostname 
	sshPort: (NSNumber *)sshPort;
// method: SshOpenTunnelAsync
- (CkoTask *)SshOpenTunnelAsync: (NSString *)sshHostname 
	sshPort: (NSNumber *)sshPort;
// method: StoreFlags
- (BOOL)StoreFlags: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: StoreFlagsAsync
- (CkoTask *)StoreFlagsAsync: (NSNumber *)msgId 
	bUid: (BOOL)bUid 
	flagName: (NSString *)flagName 
	value: (NSNumber *)value;
// method: Subscribe
- (BOOL)Subscribe: (NSString *)mailbox;
// method: SubscribeAsync
- (CkoTask *)SubscribeAsync: (NSString *)mailbox;
// method: ThreadCmd
- (CkoJsonObject *)ThreadCmd: (NSString *)threadAlg 
	charset: (NSString *)charset 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid;
// method: ThreadCmdAsync
- (CkoTask *)ThreadCmdAsync: (NSString *)threadAlg 
	charset: (NSString *)charset 
	searchCriteria: (NSString *)searchCriteria 
	bUid: (BOOL)bUid;
// method: Unsubscribe
- (BOOL)Unsubscribe: (NSString *)mailbox;
// method: UnsubscribeAsync
- (CkoTask *)UnsubscribeAsync: (NSString *)mailbox;
// method: UseCertVault
- (BOOL)UseCertVault: (CkoXmlCertVault *)vault;
// method: UseSsh
- (BOOL)UseSsh: (CkoSsh *)ssh;
// method: UseSshTunnel
- (BOOL)UseSshTunnel: (CkoSocket *)tunnel;

@end
