Свойство | Type | Description | |
---|---|---|---|
_endpoint | |||
_iterations | int | ||
_log | ITestOutputHelper | ||
_port | int | ||
_recvBuffer | byte[] | ||
_recvBufferIndex | int | ||
_s | Socket | ||
_sendBuffer | byte[] | ||
_sendBufferIndex | int | ||
_server | string |
Méthode | Description | |
---|---|---|
Close ( System.Action onCloseCallback ) : void | ||
Connect ( Action |
||
Receive ( SocketError>.Action |
||
RunTest ( ) : Task |
||
Send ( SocketError>.Action |
||
SocketTestClient ( ITestOutputHelper log, string server, int port, int iterations, string message, Stopwatch timeProgramStart ) : System.Diagnostics | ||
SocketTestClientFactory ( ITestOutputHelper log, SocketImplementationType type, string server, int port, int iterations, string message, Stopwatch timeProgramStart ) : SocketTestClient |
Méthode | Description | |
---|---|---|
ImplementationName ( ) : string |
Méthode | Description | |
---|---|---|
OnClose ( ) : void | ||
OnConnect ( SocketError error ) : void | ||
OnReceive ( int receivedBytes, SocketError error ) : void | ||
OnReceiveMessage ( ) : void | ||
OnSend ( int bytesSent, SocketError error ) : void | ||
OnSendMessage ( ) : void |
public abstract Close ( System.Action onCloseCallback ) : void | ||
onCloseCallback | System.Action | |
Résultat | void |
public abstract Connect ( Action |
||
onConnectCallback | Action |
|
Résultat | void |
protected abstract ImplementationName ( ) : string | ||
Résultat | string |
public abstract Receive ( SocketError>.Action |
||
onReceiveCallback | SocketError>.Action | |
Résultat | void |
public abstract Send ( SocketError>.Action |
||
onSendCallback | SocketError>.Action | |
Résultat | void |
public SocketTestClient ( 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 | Stopwatch | |
Résultat | System.Diagnostics |
public static SocketTestClientFactory ( ITestOutputHelper log, SocketImplementationType type, string server, int port, int iterations, string message, Stopwatch timeProgramStart ) : SocketTestClient | ||
log | ITestOutputHelper | |
type | SocketImplementationType | |
server | string | |
port | int | |
iterations | int | |
message | string | |
timeProgramStart | Stopwatch | |
Résultat | SocketTestClient |
protected EndPoint,System.Net _endpoint | ||
Résultat |