equal
deleted
inserted
replaced
124 public: |
124 public: |
125 static CImSmtpSession* NewL(CMsvServerEntry& aServerEntry, CSmtpSettings& aSettings, RSocketServ& aServ, CImConnect& aConnect, TMsvId aServiceId); |
125 static CImSmtpSession* NewL(CMsvServerEntry& aServerEntry, CSmtpSettings& aSettings, RSocketServ& aServ, CImConnect& aConnect, TMsvId aServiceId); |
126 ~CImSmtpSession(); |
126 ~CImSmtpSession(); |
127 |
127 |
128 public: |
128 public: |
129 void ConnectL(TRequestStatus& aStatus); |
129 void ConnectL(TRequestStatus& aStatus, TBool aIsSilent); |
130 void SendFilesL(CMsgImOutboxSend& aSendFiles, TRequestStatus& aStatus); |
130 void SendFilesL(CMsgImOutboxSend& aSendFiles, TRequestStatus& aStatus); |
131 void QuitL(TRequestStatus& aStatus); |
131 void QuitL(TRequestStatus& aStatus); |
132 TImImailFileProgress FileProgress(); // Return snapshot of session progress to client |
132 TImImailFileProgress FileProgress(); // Return snapshot of session progress to client |
133 inline TBool IsConnected(); |
133 inline TBool IsConnected(); |
134 TInt GetConnectionIAP(); // The value of the connecting IAP |
134 TInt GetConnectionIAP(); // The value of the connecting IAP |
145 CImSmtpSession(CMsvServerEntry& aServerEntry, CSmtpSettings& aSettings, TMsvId aServiceId); |
145 CImSmtpSession(CMsvServerEntry& aServerEntry, CSmtpSettings& aSettings, TMsvId aServiceId); |
146 void ConstructL(RSocketServ& aServ, CImConnect& aConnect); |
146 void ConstructL(RSocketServ& aServ, CImConnect& aConnect); |
147 |
147 |
148 private: |
148 private: |
149 void SendFileL(); |
149 void SendFileL(); |
150 void DoStateL(); // the state machine engine |
150 void DoStateL(TBool aIsSilent = EFalse); // the state machine engine |
151 TInt NextStateL(); // logic which calculates next state from result of current operation |
151 TInt NextStateL(); // logic which calculates next state from result of current operation |
152 TInt NextStateFromWaitingForReply(); |
152 TInt NextStateFromWaitingForReply(); |
153 TInt NextStateFromAuthorisingSmtpL(); |
153 TInt NextStateFromAuthorisingSmtpL(); |
154 TInt NextStateFromSendStarttls(); |
154 TInt NextStateFromSendStarttls(); |
155 TInt NextStateFromSettingSecurityL(); |
155 TInt NextStateFromSettingSecurityL(); |