C# 클래스 LumiSoft.Net.IMAP.Server.IMAP_Messages

IMAP messages info collection.
파일 보기 프로젝트 열기: jeske/StepsDB-alpha 1 사용 예제들

공개 메소드들

메소드 설명
AddMessage ( string messageID, int UID, IMAP_MessageFlags flags, long size, System.DateTime date ) : void

Adds new message to list.

GetDeleteMessages ( ) : LumiSoft.Net.IMAP.Server.IMAP_Message[]

Gets messages marked for delete.

IMAP_Messages ( string folder ) : System

Default constructor.

IndexFromUID ( int uid ) : int

Gets message 1-based message index from message UID.

IndexOf ( IMAP_Message message ) : int

Gets message 1-based index.

RemoveMessage ( IMAP_Message msg ) : void

Removes message from list.

this ( int msgNo ) : IMAP_Message

Gets specified message.

메소드 상세

AddMessage() 공개 메소드

Adds new message to list.
public AddMessage ( string messageID, int UID, IMAP_MessageFlags flags, long size, System.DateTime date ) : void
messageID string Internal messageID.
UID int Message UID. NOTE: message uid must increase all the time, for new messages.
flags IMAP_MessageFlags Message flags.
size long Message size.
date System.DateTime Message receive date.
리턴 void

GetDeleteMessages() 공개 메소드

Gets messages marked for delete.
public GetDeleteMessages ( ) : LumiSoft.Net.IMAP.Server.IMAP_Message[]
리턴 LumiSoft.Net.IMAP.Server.IMAP_Message[]

IMAP_Messages() 공개 메소드

Default constructor.
public IMAP_Messages ( string folder ) : System
folder string
리턴 System

IndexFromUID() 공개 메소드

Gets message 1-based message index from message UID.
public IndexFromUID ( int uid ) : int
uid int
리턴 int

IndexOf() 공개 메소드

Gets message 1-based index.
public IndexOf ( IMAP_Message message ) : int
message IMAP_Message
리턴 int

RemoveMessage() 공개 메소드

Removes message from list.
public RemoveMessage ( IMAP_Message msg ) : void
msg IMAP_Message Message which to remove.
리턴 void

this() 공개 메소드

Gets specified message.
public this ( int msgNo ) : IMAP_Message
msgNo int
리턴 IMAP_Message