Photon Server API
Public Member Functions | Public Attributes | Properties | List of all members
ExitGames.Net.Sockets.Http.HttpSender Class Reference
Inheritance diagram for ExitGames.Net.Sockets.Http.HttpSender:
ExitGames.Net.Sockets.ISocketSender

Public Member Functions

 HttpSender (string address)
 
 HttpSender (string address, int timeoutMilliseconds)
 
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...
 
void Dispose ()
 

Public Attributes

readonly string Address
 
readonly int TimeoutMilliseconds
 

Properties

bool Connected [get]
 
IPEndPoint EndPoint [get]
 
long TotalBytesSent [get]
 
- Properties inherited from ExitGames.Net.Sockets.ISocketSender
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...
 

Constructor & Destructor Documentation

ExitGames.Net.Sockets.Http.HttpSender.HttpSender ( string  address)
inline
ExitGames.Net.Sockets.Http.HttpSender.HttpSender ( string  address,
int  timeoutMilliseconds 
)
inline

Member Function Documentation

void ExitGames.Net.Sockets.Http.HttpSender.Dispose ( )
inline
void ExitGames.Net.Sockets.Http.HttpSender.Send ( byte[]  data)
inline

Sends a byte array to the socket.

Parameters
dataThe data.

Implements ExitGames.Net.Sockets.ISocketSender.

void ExitGames.Net.Sockets.Http.HttpSender.Send ( byte[]  data,
int  offset,
int  length 
)
inline

Sends a byte array to the socket.

Parameters
dataThe data.
offsetThe offset.
lengthThe length.

Implements ExitGames.Net.Sockets.ISocketSender.

void ExitGames.Net.Sockets.Http.HttpSender.Send ( IList< ArraySegment< byte >>  data)
inline

Sends a list of ArraySegment<T> of type byte to the socket.

Parameters
dataThe data.

Implements ExitGames.Net.Sockets.ISocketSender.

Member Data Documentation

readonly string ExitGames.Net.Sockets.Http.HttpSender.Address
readonly int ExitGames.Net.Sockets.Http.HttpSender.TimeoutMilliseconds

Property Documentation

bool ExitGames.Net.Sockets.Http.HttpSender.Connected
get
IPEndPoint ExitGames.Net.Sockets.Http.HttpSender.EndPoint
get
long ExitGames.Net.Sockets.Http.HttpSender.TotalBytesSent
get