Photon Server API
Public Member Functions | Protected Member Functions | List of all members
Photon.Hive.Tests.TcpPerformanceTests Class Reference

The tcp performance tests. More...

Inheritance diagram for Photon.Hive.Tests.TcpPerformanceTests:

Public Member Functions

 TcpPerformanceTests ()
 Initializes a new instance of the TcpPerformanceTests class. More...
void Ping ()
 Sends Pings. More...
void PingPing ()
 The ping. More...
void Setup ()
 The setup. More...
void TearDown ()
 The tear down. More...

Protected Member Functions

void OnEventReceived (TestClient arg1, EventData arg2)
 The on event received. More...
void OnInitResponseReceived (TestClient obj)
 The on init response received. More...
void OnOperationResponseReceived (TestClient arg1, OperationResponse arg2)
 The on operation response received. More...
- Protected Member Functions inherited from Photon.Hive.Tests.TcpTestsBase
 TcpTestsBase ()
 Initializes a new instance of the TcpTestsBase class. More...
void LogElapsedTime (ILogger logger, string prefix, TimeSpan elapsedTime, long numItems)
 The log elapsed time. More...
void WaitForEvent ()
 The wait for event. More...
void WaitForInitResponse ()
 The wait for init response. More...
void WaitForOperationResponse ()
 The wait for operation response. More...

Additional Inherited Members

- Properties inherited from Photon.Hive.Tests.TcpTestsBase
AutoResetEvent AutoResetEventEvent [get, set]
 Gets or sets AutoResetEventEvent. More...
AutoResetEvent AutoResetEventInit [get, set]
 Gets or sets AutoResetEventInit. More...
AutoResetEvent AutoResetEventOperation [get, set]
 Gets or sets AutoResetEventOperation. More...
int WaitTime [get, set]
 Gets or sets WaitTime. More...

Detailed Description

The tcp performance tests.

Constructor & Destructor Documentation

Photon.Hive.Tests.TcpPerformanceTests.TcpPerformanceTests ( )

Initializes a new instance of the TcpPerformanceTests class.

Member Function Documentation

void Photon.Hive.Tests.TcpPerformanceTests.OnEventReceived ( TestClient  arg1,
EventData  arg2 

The on event received.

arg1The arg 1.
arg2The arg 2.
void Photon.Hive.Tests.TcpPerformanceTests.OnInitResponseReceived ( TestClient  obj)

The on init response received.

objThe obj.
void Photon.Hive.Tests.TcpPerformanceTests.OnOperationResponseReceived ( TestClient  arg1,
OperationResponse  arg2 

The on operation response received.

arg1The arg 1.
arg2The arg 2.
void Photon.Hive.Tests.TcpPerformanceTests.Ping ( )

Sends Pings.

void Photon.Hive.Tests.TcpPerformanceTests.PingPing ( )

The ping.

void Photon.Hive.Tests.TcpPerformanceTests.Setup ( )

The setup.

void Photon.Hive.Tests.TcpPerformanceTests.TearDown ( )

The tear down.