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

This ISocketReceiver wraps a Sockets.PooledReceiver and uses a Pgm.PgmReceiver. More...

Inheritance diagram for ExitGames.Net.Sockets.Pgm.PgmSocketReceiver:
ExitGames.Net.Sockets.ISocketReceiver

Public Member Functions

 PgmSocketReceiver (string ip, int port, params string[] receiveInterfaces)
 Initializes a new instance of the PgmSocketReceiver class. More...
 
 PgmSocketReceiver (string ip, int port, bool batchedSender, params string[] receiveInterfaces)
 Initializes a new instance of the PgmSocketReceiver class. More...
 
void Dispose ()
 Disposes this instance. More...
 

Public Attributes

readonly PooledReceiver PooledReceiver
 The used Sockets.PooledReceiver. More...
 
readonly PgmReceiver SocketReceiver
 The used Pgm.PgmReceiver. More...
 

Properties

IPEndPoint EndPoint [get]
 Gets the multicast end point. More...
 
long TotalBytesReceived [get, set]
 Gets or sets the totanl bytes received. More...
 
- Properties inherited from ExitGames.Net.Sockets.ISocketReceiver
IPEndPoint EndPoint [get]
 Gets the remote end point. More...
 
long TotalBytesReceived [get]
 Gets the total number of resecived bytes. More...
 

Events

EventHandler< SocketReceiveEventArgsReceive
 The receive event. More...
 
- Events inherited from ExitGames.Net.Sockets.ISocketReceiver
EventHandler< SocketReceiveEventArgsReceive
 Event that is invoked when new data is received. More...
 

Detailed Description

This ISocketReceiver wraps a Sockets.PooledReceiver and uses a Pgm.PgmReceiver.

Constructor & Destructor Documentation

ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.PgmSocketReceiver ( string  ip,
int  port,
params string[]  receiveInterfaces 
)
inline

Initializes a new instance of the PgmSocketReceiver class.

Parameters
ipThe ip.
portThe port.
receiveInterfacesThe receive Interfaces.
ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.PgmSocketReceiver ( string  ip,
int  port,
bool  batchedSender,
params string[]  receiveInterfaces 
)
inline

Initializes a new instance of the PgmSocketReceiver class.

Parameters
ipThe ip.
portThe port.
batchedSenderThe batched sender.
receiveInterfacesThe receive Interfaces.

Member Function Documentation

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

Disposes this instance.

Member Data Documentation

readonly PooledReceiver ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.PooledReceiver
readonly PgmReceiver ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.SocketReceiver

The used Pgm.PgmReceiver.

Property Documentation

IPEndPoint ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.EndPoint
get

Gets the multicast end point.

The end point.

long ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.TotalBytesReceived
getset

Gets or sets the totanl bytes received.

The total bytes received.

Event Documentation

EventHandler<SocketReceiveEventArgs> ExitGames.Net.Sockets.Pgm.PgmSocketReceiver.Receive

The receive event.