Namespaces | |
namespace | Annotations |
namespace | Concurrency |
namespace | Configuration |
namespace | Diagnostics |
namespace | Misc |
namespace | Net |
namespace | Peers |
namespace | REST |
namespace | Rpc |
namespace | Runtime |
namespace | Security |
namespace | ServerToServer |
Classes | |
class | ApplicationBase |
The base class for a Photon application. The main method to override is CreatePeer. See Setup for initialization recommendations. More... | |
class | BroadcastEventData |
class | ClientPeer |
class | ErrorCodes |
Error codes used internally during connection establishing with InitV3 space below 0 and 0 is photon space space above 0 is user space More... | |
class | EventData |
This class contains data that is sent to clients with PhotonPeer.SendEvent. The IRpcProtocol serializes EventData with SerializeEventData. SetParameters(object) converts properties that are flagged with DataMemberAttribute into the Parameters dictionary. More... | |
interface | IEventData |
The implementation class contains data that is sent to clients with PeerBase.SendEvent(IEventData,SendParameters). Implementors are EventData and SerializedEventData. More... | |
interface | IManagedPeer |
class | InitRequest |
Provides initialization request parameter. More... | |
class | InitResponse |
Provides initialization request parameter. More... | |
class | InitV3Parameters |
class | InitV3Response |
interface | IRpcProtocol |
The implementation class supports a specific real time server protocol. More... | |
interface | IUnknownTypeMapper |
class | OperationRequest |
Each incoming operation is translated to an OperationRequest. It is then dispatched with PeerBase.OnOperationRequest. More... | |
class | OperationResponse |
Incoming OperationRequests are often answered with a response (represented by this class). It can be sent to the client by using the PeerBase.SendOperationResponse method. The IRpcProtocol.SerializeOperationResponse method serializes OperationResponse instances. SetParameters(object) converts properties that are flagged with DataMemberAttribute into the Parameters dictionary. More... | |
class | PeerBase |
This class is a base class for server connections. The RequestFiber processes all incoming messages. More... | |
class | PeerHelper |
This class provides access to some internal members of PeerBase and S2SPeerBase In general these methods are indended for testing. More... | |
class | Platforms |
class | Protocol |
This class provides access to the available protocols. More... | |
class | SdkIds |
struct | SendParameters |
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... | |
class | SerializedEventData |
An IEventData wrapper that serializes the event upon creation. This has a performance benefit if multiple receivers use the same protocol. More... | |
|
strong |
|
strong |
|
strong |
Specifies the encryption method for PeerBase.InitializeEncryption(byte[], EncryptionMethod).
Enumerator | |
---|---|
Sha256Pkcs7 | An SHA256 hash is used as the secret with a PKCS7 padding. |
Md5Iso10126 | An MD5 hash is used as the secret with a ISO10126 padding |
|
strong |
Specifies the available network protocol types.
Enumerator | |
---|---|
Unknown | |
Udp | The udp protocol |
Tcp | The tcp protocol |
ReliableHttp | The HTTP protocol |
WebSocket | The websocket protocol |
SecureWebSocket | The secure websocket protocol |
RawHttp | peer for REST api |
WebRTC |
|
strong |
Determines if an OperationRequest, an OperationResponse or an EventData is transported reliable or unreliable.
Enumerator | |
---|---|
Reliable | Reliable events/operations are guaranteed to arrive unless the client disconnects. |
Unreliable | Unreliable events/operations are not guaranteed to arrive. |
|
strong |
Return value of PeerBase.SendEvent(IEventData,SendParameters), PeerBase.SendOperationResponse(OperationResponse,SendParameters) and S2SPeerBase.SendOperationRequest(OperationRequest,SendParameters).