C# Class System.Net.Sockets.Performance.Tests.SocketTestClientAsync

Inheritance: SocketTestClient
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Close ( Action onCloseCallback ) : void
Connect ( Action onConnectCallback ) : void
Receive ( SocketError>.Action onReceiveCallback ) : void
Send ( SocketError>.Action onSendCallback ) : void
SocketTestClientAsync ( ITestOutputHelper log, string server, int port, int iterations, string message, Stopwatch timeProgramStart ) : System.Diagnostics

Méthodes protégées

Méthode Description
ImplementationName ( ) : string

Private Methods

Méthode Description
IO_Complete ( object sender, SocketAsyncEventArgs e ) : void
OnConnect ( object sender, SocketAsyncEventArgs e ) : void
ProcessConnect ( SocketAsyncEventArgs e ) : void

Method Details

Close() public méthode

public Close ( Action onCloseCallback ) : void
onCloseCallback Action
Résultat void

Connect() public méthode

public Connect ( Action onConnectCallback ) : void
onConnectCallback Action
Résultat void

ImplementationName() protected méthode

protected ImplementationName ( ) : string
Résultat string

Receive() public méthode

public Receive ( SocketError>.Action onReceiveCallback ) : void
onReceiveCallback SocketError>.Action
Résultat void

Send() public méthode

public Send ( SocketError>.Action onSendCallback ) : void
onSendCallback SocketError>.Action
Résultat void

SocketTestClientAsync() public méthode

public SocketTestClientAsync ( ITestOutputHelper log, string server, int port, int iterations, string message, Stopwatch timeProgramStart ) : System.Diagnostics
log ITestOutputHelper
server string
port int
iterations int
message string
timeProgramStart System.Diagnostics.Stopwatch
Résultat System.Diagnostics