Photon Server API
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase Class Reference
Inheritance diagram for Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase:
Photon.LoadBalancing.UnitTests.PluginTestsImpl Photon.LoadBalancing.UnitTests.TestsImpl.LBAsyncJoinTestImpl Photon.LoadBalancing.UnitTests.TestsImpl.SecureTestsImpl Photon.LoadBalancing.UnitTests.UnifiedTests.LBApiTestsImpl Photon.LoadBalancing.UnitTests.Offline.PluginOfflineTests Photon.LoadBalancing.UnitTests.Online.PluginOnlineTests Photon.LoadBalancing.UnitTests.Offline.AsyncJoinOfflineTests Photon.LoadBalancing.UnitTests.Offline.OfflineSecureTests Photon.LoadBalancing.UnitTests.Online.OnlineSecureTests Photon.LoadBalancing.UnitTests.Offline.LoadBalancingOfflineTests Photon.LoadBalancing.UnitTests.Online.LoadbalancingOnlineTests

Public Member Functions

 LoadBalancingUnifiedTestsBase (ConnectPolicy policy)
 
virtual UnifiedTestClient CreateMasterClientAndAuthenticate (string userId=null, Dictionary< byte, object > authParameter=null)
 Creates a TestClientBase and connects to the master server. Sends an Authenticate request after connection is completed. The TestClientBase's IAuthenticationScheme determines which parameters are used for Authenticate. More...
 
virtual void ConnectAndAuthenticate (UnifiedTestClient client, string address, Dictionary< byte, object > authParameter=null)
 
virtual void ConnectAndAuthenticate (UnifiedTestClient client, string address, string userName, Dictionary< byte, object > authParameter=null, bool reuseToken=false)
 

Protected Member Functions

void ConnectToServer (UnifiedClientBase client, string address)
 

Protected Attributes

string Player1 = "Player1"
 
string Player2 = "Player2"
 
string Player3 = "Player3"
 

Properties

string MasterAddress [get]
 
string GameServerAddress [get]
 
bool UsePlugins [get, set]
 

Constructor & Destructor Documentation

Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.LoadBalancingUnifiedTestsBase ( ConnectPolicy  policy)
inline

Member Function Documentation

virtual void Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.ConnectAndAuthenticate ( UnifiedTestClient  client,
string  address,
Dictionary< byte, object >  authParameter = null 
)
inlinevirtual
virtual void Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.ConnectAndAuthenticate ( UnifiedTestClient  client,
string  address,
string  userName,
Dictionary< byte, object >  authParameter = null,
bool  reuseToken = false 
)
inlinevirtual
void Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.ConnectToServer ( UnifiedClientBase  client,
string  address 
)
inlineprotected
virtual UnifiedTestClient Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.CreateMasterClientAndAuthenticate ( string  userId = null,
Dictionary< byte, object >  authParameter = null 
)
inlinevirtual

Creates a TestClientBase and connects to the master server. Sends an Authenticate request after connection is completed. The TestClientBase's IAuthenticationScheme determines which parameters are used for Authenticate.

Member Data Documentation

string Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.Player1 = "Player1"
protected
string Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.Player2 = "Player2"
protected
string Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.Player3 = "Player3"
protected

Property Documentation

string Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.GameServerAddress
get
string Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.MasterAddress
get
bool Photon.LoadBalancing.UnitTests.UnifiedServer.LoadBalancingUnifiedTestsBase.UsePlugins
getset