ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
Loading...
Searching...
No Matches
XmobiTea.ProtonNet.Networking.OperationEvent Class Reference

Represents an event operation in the networking layer. More...

Inheritance diagram for XmobiTea.ProtonNet.Networking.OperationEvent:
XmobiTea.ProtonNet.Networking.IOperationModel

Public Member Functions

 OperationEvent ()
 Initializes a new instance of the OperationEvent class.
 
 OperationEvent (string eventCode)
 Initializes a new instance of the OperationEvent class with a specific event code.
 

Properties

string EventCode [get, set]
 Gets or sets the event code that identifies the event.
 
GNHashtable Parameters [get, set]
 Gets or sets the parameters associated with the event.
 
OperationEvent(string eventCode, GNHashtable parameters) object this[string parameterKey] [get, set]
 Initializes a new instance of the OperationEvent class with a specific event code and parameters.
 

Detailed Description

Represents an event operation in the networking layer.

Constructor & Destructor Documentation

◆ OperationEvent()

XmobiTea.ProtonNet.Networking.OperationEvent.OperationEvent ( string eventCode)

Initializes a new instance of the OperationEvent class with a specific event code.

Parameters
eventCodeThe event code that identifies the event.

Property Documentation

◆ this[string parameterKey]

OperationEvent (string eventCode, GNHashtable parameters) object XmobiTea.ProtonNet.Networking.OperationEvent.this[string parameterKey]
getset

Initializes a new instance of the OperationEvent class with a specific event code and parameters.

Parameters
eventCodeThe event code that identifies the event.
parametersThe parameters associated with the event.

Gets or sets the parameter value associated with the specified key.

Parameters
parameterKeyThe key of the parameter.
Returns
The value associated with the specified key.

The documentation for this class was generated from the following file: