Photon Server API
Public Member Functions | Properties | List of all members
Photon.SocketServer.ServerToServer.EventDataEventArgs Class Reference

Provides data for the TcpClient.Event event. More...

Inheritance diagram for Photon.SocketServer.ServerToServer.EventDataEventArgs:

Public Member Functions

 EventDataEventArgs (IEventData eventData, SendParameters sendParameters)
 Initializes a new instance of the EventDataEventArgs class. More...
 

Properties

IEventData EventData [get]
 Gets the event data received from the server. More...
 
SendParameters SendParameters [get]
 Gets the send parameters the event was received with More...
 

Detailed Description

Provides data for the TcpClient.Event event.

Constructor & Destructor Documentation

Photon.SocketServer.ServerToServer.EventDataEventArgs.EventDataEventArgs ( IEventData  eventData,
SendParameters  sendParameters 
)
inline

Initializes a new instance of the EventDataEventArgs class.

Parameters
eventDataThe event data received from the server.
sendParametersThe send parameters the event was received with.

Property Documentation

IEventData Photon.SocketServer.ServerToServer.EventDataEventArgs.EventData
get

Gets the event data received from the server.

The event data.

SendParameters Photon.SocketServer.ServerToServer.EventDataEventArgs.SendParameters
get

Gets the send parameters the event was received with