Photon Server API
Public Member Functions | List of all members
ExitGames.Net.IPAddressCollection Class Reference

The IP address collection. More...

Inheritance diagram for ExitGames.Net.IPAddressCollection:

Public Member Functions

 IPAddressCollection ()
 Initializes a new instance of the IPAddressCollection class. More...
 
 IPAddressCollection (int capacity)
 Initializes a new instance of the IPAddressCollection class. More...
 
 IPAddressCollection (IEnumerable< IPAddress > collection)
 Initializes a new instance of the IPAddressCollection class. More...
 
void Add (string addressToAdd)
 Add a new IP address. More...
 
bool Contains (string addressToCheck)
 Checks whether the collection contains an IP address. More...
 
bool Remove (string addressToRemove)
 Removes an ip address. More...
 

Detailed Description

The IP address collection.

Constructor & Destructor Documentation

ExitGames.Net.IPAddressCollection.IPAddressCollection ( )
inline

Initializes a new instance of the IPAddressCollection class.

ExitGames.Net.IPAddressCollection.IPAddressCollection ( int  capacity)
inline

Initializes a new instance of the IPAddressCollection class.

Parameters
capacityThe capacity.
ExitGames.Net.IPAddressCollection.IPAddressCollection ( IEnumerable< IPAddress >  collection)
inline

Initializes a new instance of the IPAddressCollection class.

Parameters
collectionThe collection.

Member Function Documentation

void ExitGames.Net.IPAddressCollection.Add ( string  addressToAdd)
inline

Add a new IP address.

Parameters
addressToAddThe IP address to add.
bool ExitGames.Net.IPAddressCollection.Contains ( string  addressToCheck)
inline

Checks whether the collection contains an IP address.

Parameters
addressToCheckThe addressToCheck.
Returns
The contains.
bool ExitGames.Net.IPAddressCollection.Remove ( string  addressToRemove)
inline

Removes an ip address.

Parameters
addressToRemoveThe address.
Returns
The remove.