C# Класс SmtpServer.Protocol.SmtpStateMachine.StateTable

Наследование: IEnumerable
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( State state ) : void

Add the given state.

Initialize ( SmtpState stateId ) : void

Sets the initial state.

TryAccept ( TokenEnumerator tokenEnumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool

Advances the enumerator to the next command in the stream.

this ( SmtpState stateId ) : State

Returns the state with the given ID.

Приватные методы

Метод Описание
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

Описание методов

Add() публичный Метод

Add the given state.
public Add ( State state ) : void
state State
Результат void

Initialize() публичный Метод

Sets the initial state.
public Initialize ( SmtpState stateId ) : void
stateId SmtpState The ID of the initial state.
Результат void

TryAccept() публичный Метод

Advances the enumerator to the next command in the stream.
public TryAccept ( TokenEnumerator tokenEnumerator, SmtpCommand &command, SmtpResponse &errorResponse ) : bool
tokenEnumerator SmtpServer.Protocol.Text.TokenEnumerator The token enumerator to accept the command from.
command SmtpCommand The command that is defined within the token enumerator.
errorResponse SmtpResponse The error that indicates why the command could not be made.
Результат bool

this() публичный Метод

Returns the state with the given ID.
public this ( SmtpState stateId ) : State
stateId SmtpState The state ID to return.
Результат State