Photon Fusion 2.0.4

Namespaces | Classes | Enumerations
Fusion.Sockets Namespace Reference

Classes

interface  INetBitWriteStream
 Interface for writing bits to a stream. More...
 
interface  INetPeerGroupCallbacks
 Defines the callbacks for network peer group events. More...
 
interface  INetSocket
 Defines the interface for network socket operations. More...
 
struct  NetAddress
 Represents a Network Address, which includes a IP and Port This can contains either a IPv4 or a IPv6 address More...
 
struct  NetBitBuffer
 Represents a buffer for reading and writing bits. More...
 
struct  NetBitBufferList
 Represents a linked list of Fusion.Sockets.NetBitBuffer More...
 
struct  NetBitBufferNull
 Represents a null bit buffer for writing data. More...
 
struct  NetBitBufferSerializer
 Represents a serializer for reading and writing data to a NetBitBuffer. More...
 
struct  NetCommandAccepted
 Accepted Command, sent by the server when a remote client connection is accepted More...
 
struct  NetCommandConnect
 Connect Command used to signal a remote server that a client is trying to connect to it More...
 
struct  NetCommandDisconnect
 Disconnect Command, it can be used by either side of the connection More...
 
struct  NetCommandHeader
 Network Command Header Describe its type and usual settings for all commands More...
 
struct  NetCommandRefused
 Refuse Command, sent by the server when the connection was refused. This happens when the server has reached its max connection capacity. More...
 
struct  NetConfig
 General configuration used to drive the behavior of the Socket library More...
 
struct  NetConfigNotify
 Represents the configuration for network notifications. More...
 
struct  NetConfigSimulation
 Represents the configuration for network simulation. More...
 
struct  NetConfigSimulationOscillator
 Represents an oscillator configuration for network simulation. More...
 
struct  NetConnection
 Network connection More...
 
struct  NetConnectionId
 Represents a network connection ID. More...
 
struct  NetConnectionMap
 Represents a network connection map. More...
 
struct  NetPeer
 Network Peer More...
 
struct  NetPeerGroup
 Network Peer Group. More...
 
struct  NetSendEnvelope
 Represents an envelope for sending network packets in the Fusion.Sockets namespace. More...
 
struct  NetSocket
 Represents a network socket with a handle and a native socket. More...
 
struct  ReliableHeader
 Represents a reliable header structure used in the Fusion.Sockets namespace. More...
 
struct  ReliableId
 Represents a reliable identifier used in the Fusion.Sockets namespace. More...
 
struct  ReliableKey
 Represents a reliable key structure used in the Fusion.Sockets namespace. More...
 
struct  ReliableList
 Represents a list of reliable headers. More...
 

Enumerations

enum class  NetCommands : byte
 Describe the Type of a Command Packet More...
 
enum class  NetConnectFailedReason : byte
 The reason a connection with a remote server has failed More...
 
enum class  NetConnectionStatus
 Represents the status of a network connection. More...
 
enum class  NetDisconnectReason : byte
 Disconnect Reason Flag More...
 
enum class  NetPacketType : byte
 Describe the type of a Networked Packet More...
 
enum class  OnConnectionRequestReply
 Represents the possible replies to a connection request. More...
 

Enumeration Type Documentation

◆ NetCommands

enum NetCommands : byte
strong

Describe the Type of a Command Packet

◆ NetConnectFailedReason

enum NetConnectFailedReason : byte
strong

The reason a connection with a remote server has failed

Enumerator
Timeout 

Server is not responding.

ServerFull 

Server has accepted the max allowed Players

ServerRefused 

Server refused the connection

◆ NetConnectionStatus

enum NetConnectionStatus
strong

Represents the status of a network connection.

Enumerator
Created 

The connection has been created.

Connecting 

The connection is in the process of connecting.

Connected 

The connection is established.

Disconnected 

The connection has been disconnected.

Shutdown 

The connection has been shut down.

◆ NetDisconnectReason

enum NetDisconnectReason : byte
strong

Disconnect Reason Flag

Disconnect Reason Flag

Enumerator
Unknown 

The reason for disconnection is unknown.

Timeout 

The connection timed out.

Requested 

The disconnection was requested.

SequenceOutOfBounds 

The sequence is out of bounds.

SendWindowFull 

The send window is full.

ByRemote 

The disconnection was initiated by the remote party.

◆ NetPacketType

enum NetPacketType : byte
strong

Describe the type of a Networked Packet

◆ OnConnectionRequestReply

Represents the possible replies to a connection request.

Enumerator
Ok 

The connection request is accepted.

Refuse 

The connection request is refused.

Waiting 

The connection request is waiting for a decision.