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:
Photon.Hive.Tests.TcpTestsBase

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

◆ TcpPerformanceTests()

Photon.Hive.Tests.TcpPerformanceTests.TcpPerformanceTests ( )
inline

Initializes a new instance of the TcpPerformanceTests class.

Member Function Documentation

◆ OnEventReceived()

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

The on event received.

Parameters
arg1The arg 1.
arg2The arg 2.

◆ OnInitResponseReceived()

void Photon.Hive.Tests.TcpPerformanceTests.OnInitResponseReceived ( TestClient  obj)
inlineprotected

The on init response received.

Parameters
objThe obj.

◆ OnOperationResponseReceived()

void Photon.Hive.Tests.TcpPerformanceTests.OnOperationResponseReceived ( TestClient  arg1,
OperationResponse  arg2 
)
inlineprotected

The on operation response received.

Parameters
arg1The arg 1.
arg2The arg 2.

◆ Ping()

void Photon.Hive.Tests.TcpPerformanceTests.Ping ( )
inline

Sends Pings.

◆ PingPing()

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

The ping.

◆ Setup()

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

The setup.

◆ TearDown()

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

The tear down.