Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Net.Sockets.ISocketSender Interface Reference

Interface for a class that sends data to a socket. More...

Inheritance diagram for ExitGames.Net.Sockets.ISocketSender:
ExitGames.Net.Sockets.Http.HttpSender ExitGames.Net.Sockets.Pgm.PgmSender ExitGames.Net.Sockets.Pgm.PgmSocketSender ExitGames.Net.Sockets.PooledSender ExitGames.Net.Sockets.Stub.StubSender ExitGames.Net.Sockets.Udp.UdpSender

Public Member Functions

void Send (byte[] data)
 Sends a byte array to the socket. More...
 
void Send (byte[] data, int offset, int length)
 Sends a byte array to the socket. More...
 
void Send (IList< ArraySegment< byte >> data)
 Sends a list of ArraySegment<T> of type byte to the socket. More...
 

Properties

bool Connected [get]
 Gets a value indicating whether the ISocketSender is connected to a remote host as of the last Send operation. More...
 
IPEndPoint EndPoint [get]
 Gets the remote end point. More...
 
long TotalBytesSent [get]
 Gets the total number of sent bytes. More...
 

Detailed Description

Interface for a class that sends data to a socket.

Member Function Documentation

void ExitGames.Net.Sockets.ISocketSender.Send ( byte[]  data)
void ExitGames.Net.Sockets.ISocketSender.Send ( byte[]  data,
int  offset,
int  length 
)
void ExitGames.Net.Sockets.ISocketSender.Send ( IList< ArraySegment< byte >>  data)

Property Documentation

bool ExitGames.Net.Sockets.ISocketSender.Connected
get

Gets a value indicating whether the ISocketSender is connected to a remote host as of the last Send operation.

IPEndPoint ExitGames.Net.Sockets.ISocketSender.EndPoint
get

Gets the remote end point.

The EndPoint to which the implementation class sends the data.

long ExitGames.Net.Sockets.ISocketSender.TotalBytesSent
get

Gets the total number of sent bytes.

The total number of sent bytes.