Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Net.Sockets.Pgm.PgmSenderPool Class Reference

A pool of PgmSenders. More...

Inheritance diagram for ExitGames.Net.Sockets.Pgm.PgmSenderPool:

Public Member Functions

 PgmSenderPool (string address, int port, string bindInterface, int queueSize, int lockTimeout)
 Initializes a new instance of the PgmSenderPool class. More...
 
void Send (byte[] data)
 Sends a byte array asynchronously. More...
 
void Dispose ()
 Disposes all used PgmSender instances. More...
 

Properties

string Address [get]
 Gets Address. More...
 
string BindInterface [get]
 Gets BindInterface. More...
 
int Port [get]
 Gets Port. More...
 
int QueueSize [get]
 Gets QueueSize. More...
 

Detailed Description

A pool of PgmSenders.

Constructor & Destructor Documentation

ExitGames.Net.Sockets.Pgm.PgmSenderPool.PgmSenderPool ( string  address,
int  port,
string  bindInterface,
int  queueSize,
int  lockTimeout 
)
inline

Initializes a new instance of the PgmSenderPool class.

Parameters
addressThe address.
portThe port.
bindInterfaceThe bind interface.
queueSizeThe queue size.
lockTimeoutThe lock timeout.

Member Function Documentation

void ExitGames.Net.Sockets.Pgm.PgmSenderPool.Dispose ( )
inline

Disposes all used PgmSender instances.

void ExitGames.Net.Sockets.Pgm.PgmSenderPool.Send ( byte[]  data)
inline

Sends a byte array asynchronously.

Parameters
dataThe payload.

Property Documentation

string ExitGames.Net.Sockets.Pgm.PgmSenderPool.Address
get

Gets Address.

string ExitGames.Net.Sockets.Pgm.PgmSenderPool.BindInterface
get

Gets BindInterface.

int ExitGames.Net.Sockets.Pgm.PgmSenderPool.Port
get

Gets Port.

int ExitGames.Net.Sockets.Pgm.PgmSenderPool.QueueSize
get

Gets QueueSize.