Photon Bolt Engine API 1.3

Public Member Functions | List of all members
Photon.Bolt.PooledProtocolToken Class Referenceabstract
Inheritance diagram for Photon.Bolt.PooledProtocolToken:

Public Member Functions

abstract override void Read (UdpPacket packet)
 Used to deserialize the Token reading data from the data packet. More...
 
abstract override void Reset ()
 Used to reset all fields from a IProtocolToken in order to return it to the Pool More...
 
abstract override void Write (UdpPacket packet)
 Used to serialize the Token by writing data into the data packet. More...
 

Member Function Documentation

◆ Read()

abstract override void Photon.Bolt.PooledProtocolToken.Read ( UdpPacket  packet)
pure virtual

Used to deserialize the Token reading data from the data packet.

Parameters
packetData packet that contains the Token info

◆ Reset()

abstract override void Photon.Bolt.PooledProtocolToken.Reset ( )
pure virtual

Used to reset all fields from a IProtocolToken in order to return it to the Pool

◆ Write()

abstract override void Photon.Bolt.PooledProtocolToken.Write ( UdpPacket  packet)
pure virtual

Used to serialize the Token by writing data into the data packet.

Parameters
packetData packet used to store the Token info