Photon Server API
Namespaces | Classes | Enumerations
Photon.SocketServer.Rpc.Protocols Namespace Reference

Namespaces

namespace  Amf3
 
namespace  GpBinary
 
namespace  GpBinaryByte
 
namespace  GpBinaryByteV2
 
namespace  GpBinaryV17
 
namespace  Json
 

Classes

class  CustomTypeCache
 
class  CustomTypeInfo
 
class  GlobalProtocolTraits
 
interface  IRtsInitMessage
 
interface  IRtsMessageHeaderConverter
 Implementors write the rts message headers to a data stream.
 
class  ReusableMemoryStream
 The reusable memory stream.
 
class  RtsInitMessage
 Represents a realtime server intitialization message.
 
class  RtsInitResponseMessage
 The rts init response message.
 
struct  RtsMessageHeader
 The rts message header. More...
 
class  RtsMessageHeaderConverterAmf3V2
 This IRtsMessageHeaderConverter writes a 2 bytes long header and uses magic byte 0xF4.
 
class  RtsMessageHeaderConverterBinaryV2
 This IRtsMessageHeaderConverter writes a 2 bytes long header and uses magic byte 0xF3.
 

Enumerations

enum  ProtocolType {
  ProtocolType.GpBinaryV15 = 0, ProtocolType.GpBinaryV16 = 1, ProtocolType.Amf3V16 = 2, ProtocolType.Json = 3,
  ProtocolType.GpBinaryV17 = 4
}
 Specifies the available protocol types. More...
 
enum  RtsMagicByte : byte { RtsMagicByte.GpBinaryV2 = 0xF3, RtsMagicByte.Amf3V2 = 0xF4, RtsMagicByte.Initv2Post = 0x50, RtsMagicByte.Initv2Get = 0x47 }
 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.InternalOperationRequest = 6, RtsMessageType.InternalOperationResponse = 7, RtsMessageType.Message = 8,
  RtsMessageType.RawMessage = 9
}
 Defines the RealTimeServer message types used for serialization. More...
 

Enumeration Type Documentation

Specifies the available protocol types.

Enumerator
GpBinaryV15 

Binary byte protocol v1.5 with the new header.

GpBinaryV16 

Binary byte protocol version 1.6 with the new header.

Amf3V16 

Flash AMF3 protocol with the new header.

Json 

Json protocol used by websockets.

GpBinaryV17 

Binary byte protocol version 1.7 with the new header.

Defines the valid magic bytes

Enumerator
GpBinaryV2 

The second header version for GpBinary (photon 3)

Amf3V2 

The second header version for AMF3.

Initv2Post 

Header for InitV2 ('P' from POST)

Initv2Get 

Header for InitV2 ('G' from GET)

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.

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 transfered as is.