Photon Server API Documentation
v5.0RC1
Namespaces | |
| namespace | GpBinary |
| namespace | GpBinaryByte |
| namespace | GpBinaryV17 |
| namespace | GpBinaryV18 |
| namespace | Json |
Classes | |
| class | CustomTypeCache |
| class | CustomTypeInfo |
| class | DisconnectMessage |
| class | GlobalProtocolTraits |
| class | InboundController |
| class | InitV3Handler |
| interface | IRtsInitMessage |
| interface | IRtsMessageHeaderConverter |
| Implementors write the rts message headers to a data stream. | |
| struct | MessagesLimits |
| struct | OperationLimits |
| struct | ParameterData |
| struct defines operation parameter limits (size in bytes and count of elements) and what kind of meta data information should be provided More... | |
| class | ParameterMetaData |
| meta data container for request parameter More... | |
| struct | ReadContext |
| class | RequestMetaData |
| MetaData container for entire request More... | |
| class | ReusableMemoryStream |
| The reusable memory stream. | |
| struct | RtsInitMessage |
| Represents a realtime server initialization message. | |
| class | RtsInitResponseMessage |
| The rts init response message. | |
| struct | RtsMessageHeader |
| The rts message header. More... | |
| class | RtsMessageHeaderConverterBinaryV2 |
| This IRtsMessageHeaderConverter writes a 2 bytes long header and uses magic byte 0xF3. | |
| struct | WriteContext |
Enumerations | |
| enum | ProtocolType { ProtocolType.GpBinaryV16 = 1, ProtocolType.Json = 3, ProtocolType.GpBinaryV17 = 4, ProtocolType.GpBinaryV18 = 5 } |
| Specifies the available protocol types. More... | |
| enum | RtsMagicByte : byte { RtsMagicByte.GpBinaryV2 = 0xF3, RtsMagicByte.Initv2Post = 0x50, RtsMagicByte.Initv2Get = 0x47, RtsMagicByte.InitV3 = 0xF5 } |
| Defines the valid magic bytes More... | |
| enum | RtsMessageType : byte { RtsMessageType.Init = 0, RtsMessageType.InitResponse = 1, RtsMessageType.Operation = 2, RtsMessageType.OperationResponse = 3, RtsMessageType.Event = 4, RtsMessageType.DisconnectMessage = 5, RtsMessageType.InternalOperationRequest = 6, RtsMessageType.InternalOperationResponse = 7, RtsMessageType.Message = 8, RtsMessageType.RawMessage = 9, RtsMessageType.Unknown = 255 } |
| Defines the RealTimeServer message types used for serialization. More... | |
|
strong |
Specifies the available protocol types.
| Enumerator | |
|---|---|
| GpBinaryV16 | Binary byte protocol version 1.6 with the new header. |
| Json | Json protocol used by websockets. |
| GpBinaryV17 | Binary byte protocol version 1.7 with the new header. |
| GpBinaryV18 | Binary byte protocol version 1.8 with compressions |
|
strong |
Defines the valid magic bytes
| Enumerator | |
|---|---|
| GpBinaryV2 | The second header version for GpBinary (photon 3) |
| Initv2Post | Header for InitV2 ('P' from POST) |
| Initv2Get | Header for InitV2 ('G' from GET) |
| InitV3 | Header for InitV3 |
|
strong |
Defines the RealTimeServer message types used for serialization.
| Enumerator | |
|---|---|
| Init | The Init mesasge. |
| InitResponse | The Init response message. |
| Operation | The Operation request message. |
| OperationResponse | The Operation response message. |
| Event | The Event message. |
| DisconnectMessage | message we send to disconnect client |
| InternalOperationRequest | Message type for internal operation requests. |
| InternalOperationResponse | Message type for internal operation responses. |
| Message | Generic message. Any photon serializable object supported. |
| RawMessage | Raw Message transferred as is. |
| Unknown | We use it when there is no information about message type |