/// <summary> /// Constructor. /// </summary> /// <param name="transaction">The SMTP transaction.</param> /// <param name="stateMachine">The current state machine for the session.</param> /// <param name="remoteEndPoint">The remote endpoint of the client making the connection.</param> internal SmtpSessionContext(ISmtpTransaction transaction, ISmtpStateMachine stateMachine, EndPoint remoteEndPoint) { Transaction = transaction; StateMachine = stateMachine; RemoteEndPoint = remoteEndPoint; }