Photon Server API
Properties | List of all members
Photon.SocketServer.SendParameters Struct Reference

The struct contains the parameters for PeerBase.SendOperationResponse(OperationResponse,SendParameters), PeerBase.SendEvent(IEventData,SendParameters) and S2SPeerBase.SendOperationRequest(OperationRequest,SendParameters) and contains the info about incoming data at PeerBase.OnOperationRequest, S2SPeerBase.OnEvent and S2SPeerBase.OnOperationResponse. More...

Properties

byte ChannelId [get, set]
 Gets or sets the channel id for the udp protocol. More...
 
bool Encrypted [get, set]
 Gets or sets a value indicating whether the data is sent encrypted. More...
 
bool Flush [get, set]
 Gets or sets a value indicating whether to flush all queued data with the next send. This overrides the configured send delay. More...
 
bool Unreliable [get, set]
 Gets or sets a value indicating whether to send the data unreliable. More...
 

Detailed Description

The struct contains the parameters for PeerBase.SendOperationResponse(OperationResponse,SendParameters), PeerBase.SendEvent(IEventData,SendParameters) and S2SPeerBase.SendOperationRequest(OperationRequest,SendParameters) and contains the info about incoming data at PeerBase.OnOperationRequest, S2SPeerBase.OnEvent and S2SPeerBase.OnOperationResponse.

Property Documentation

byte Photon.SocketServer.SendParameters.ChannelId
getset

Gets or sets the channel id for the udp protocol.

bool Photon.SocketServer.SendParameters.Encrypted
getset

Gets or sets a value indicating whether the data is sent encrypted.

bool Photon.SocketServer.SendParameters.Flush
getset

Gets or sets a value indicating whether to flush all queued data with the next send. This overrides the configured send delay.

bool Photon.SocketServer.SendParameters.Unreliable
getset

Gets or sets a value indicating whether to send the data unreliable.