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

The tcp tests base. More...

Inheritance diagram for Photon.Hive.Tests.TcpTestsBase:
Photon.Hive.Tests.TcpPerformanceTests

Protected Member Functions

 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...
 

Properties

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 tests base.

Constructor & Destructor Documentation

Photon.Hive.Tests.TcpTestsBase.TcpTestsBase ( )
inlineprotected

Initializes a new instance of the TcpTestsBase class.

Member Function Documentation

void Photon.Hive.Tests.TcpTestsBase.LogElapsedTime ( ILogger  logger,
string  prefix,
TimeSpan  elapsedTime,
long  numItems 
)
inlineprotected

The log elapsed time.

Parameters
loggerThe logger.
prefixThe prefix.
elapsedTimeThe elapsed time.
numItemsThe num items.
void Photon.Hive.Tests.TcpTestsBase.WaitForEvent ( )
inlineprotected

The wait for event.

void Photon.Hive.Tests.TcpTestsBase.WaitForInitResponse ( )
inlineprotected

The wait for init response.

void Photon.Hive.Tests.TcpTestsBase.WaitForOperationResponse ( )
inlineprotected

The wait for operation response.

Property Documentation

AutoResetEvent Photon.Hive.Tests.TcpTestsBase.AutoResetEventEvent
getsetprotected

Gets or sets AutoResetEventEvent.

AutoResetEvent Photon.Hive.Tests.TcpTestsBase.AutoResetEventInit
getsetprotected

Gets or sets AutoResetEventInit.

AutoResetEvent Photon.Hive.Tests.TcpTestsBase.AutoResetEventOperation
getsetprotected

Gets or sets AutoResetEventOperation.

int Photon.Hive.Tests.TcpTestsBase.WaitTime
getsetprotected

Gets or sets WaitTime.