C# Class SuperSocket.ProtoBase.ProcessResult

The pipeline data processing result
Mostrar archivo Open project: kerryjiang/SuperSocket Class Usage Examples

Public Methods

Method Description
Create ( ProcessState state ) : ProcessResult

Creates a processing result with the specified state.

Create ( ProcessState state, IList packages ) : ProcessResult

Creates a processing result with the specified state.

Create ( ProcessState state, string message ) : ProcessResult

Creates a processing result with the specified state.

Create ( ProcessState state, string message, IList packages ) : ProcessResult

Creates a processing result with the specified state.

Method Details

Create() public static method

Creates a processing result with the specified state.
public static Create ( ProcessState state ) : ProcessResult
state ProcessState The state.
return ProcessResult

Create() public static method

Creates a processing result with the specified state.
public static Create ( ProcessState state, IList packages ) : ProcessResult
state ProcessState The state.
packages IList The packages which were processed in this round.
return ProcessResult

Create() public static method

Creates a processing result with the specified state.
public static Create ( ProcessState state, string message ) : ProcessResult
state ProcessState The state.
message string The message.
return ProcessResult

Create() public static method

Creates a processing result with the specified state.
public static Create ( ProcessState state, string message, IList packages ) : ProcessResult
state ProcessState The state.
message string The message.
packages IList The packages which were processed in this round.
return ProcessResult