Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult Class Referencesealed

Protected Member Functions

void ProtectedInvokeCallback (object result, IntPtr userToken)
 
void ProtectedInvokeCallback (object result, IntPtr userToken)
 
void ProtectedInvokeCallback (object result, IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 
virtual void Complete (IntPtr userToken)
 
virtual void Cleanup ()
 
virtual void Cleanup ()
 
virtual void Cleanup ()
 

Package Functions

 ConnectAndHandshakeAsyncResult (SmtpConnection connection, string host, int port, System.Net.ContextAwareResult outerResult, AsyncCallback callback, object state)
 
void GetConnection ()
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
void InvokeCallback (object result)
 
void InvokeCallback ()
 
object InternalWaitForCompletion ()
 
object InternalWaitForCompletion ()
 
object InternalWaitForCompletion ()
 
void InternalCleanup ()
 

Static Package Functions

static void End (IAsyncResult result)
 

Properties

static ThreadContext CurrentThreadContext [get]
 
object AsyncObject [get]
 
object AsyncState [get]
 
WaitHandle AsyncWaitHandle [get]
 
bool CompletedSynchronously [get]
 
bool IsCompleted [get]
 
bool InternalPeekCompleted [get]
 
object Result [get, set]
 
bool EndCalled [get, set]
 
int ErrorCode [get, set]
 
AsyncCallback AsyncCallback [get]
 

Private Member Functions

void InitializeConnection ()
 
void Handshake ()
 
bool SendEHello ()
 
bool SendHello ()
 
bool SendStartTls ()
 
bool TlsStreamAuthenticate ()
 
void Authenticate ()
 
bool AuthenticateContinue ()
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
bool LazilyCreateEvent (out ManualResetEvent waitHandle)
 
object WaitForCompletion (bool snap)
 
object WaitForCompletion (bool snap)
 
object WaitForCompletion (bool snap)
 

Static Private Member Functions

static void InitializeConnectionCallback (IAsyncResult result)
 
static void HandshakeCallback (IAsyncResult result)
 
static void SendEHelloCallback (IAsyncResult result)
 
static void SendHelloCallback (IAsyncResult result)
 
static void SendStartTlsCallback (IAsyncResult result)
 
static void TlsStreamAuthenticateCallback (IAsyncResult result)
 
static void AuthenticateCallback (IAsyncResult result)
 
static void AuthenticateContinueCallback (IAsyncResult result)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 
static void WorkerThreadComplete (object state)
 

Private Attributes

string _authResponse
 
readonly SmtpConnection _connection
 
int _currentModule = -1
 
readonly int _port
 
readonly string _host
 
readonly System.Net.ContextAwareResult _outerResult
 
readonly object _asyncObject
 
readonly object _asyncState
 
AsyncCallback _asyncCallback
 
object _result
 
int _errorCode
 
int _intCompleted
 
bool _endCalled
 
bool _userEvent
 
object _event
 

Static Private Attributes

static readonly AsyncCallback s_handshakeCallback = HandshakeCallback
 
static readonly AsyncCallback s_sendEHelloCallback = SendEHelloCallback
 
static readonly AsyncCallback s_sendHelloCallback = SendHelloCallback
 
static readonly AsyncCallback s_authenticateCallback = AuthenticateCallback
 
static readonly AsyncCallback s_authenticateContinueCallback = AuthenticateContinueCallback
 
static ThreadContext t_threadContext
 

Detailed Description

Definition at line 37 of file SmtpConnection.cs.


The documentation for this class was generated from the following file: