Photon Fusion 2.0.12

Public Member Functions | Properties | List of all members
NetConnection Struct Reference

Network connection More...

Public Member Functions

readonly override string ToString ()
 Returns a string that represents the current NetConnection. More...
 

Properties

readonly bool Active [get]
 Gets a value indicating whether the connection is active. More...
 
readonly NetConnectionStatus ConnectionStatus [get]
 Gets the current status of the connection. More...
 
readonly NetConnectionId LocalConnectionId [get]
 Gets the local connection ID. More...
 
readonly NetAddress RemoteAddress [get]
 Gets the remote address of the connection. More...
 
readonly NetConnectionId RemoteConnectionId [get]
 Gets the remote connection ID. More...
 
readonly double RoundTripTime [get]
 Gets the round-trip time (RTT) for the connection. More...
 

Detailed Description

Network connection

Member Function Documentation

◆ ToString()

readonly override string ToString ( )

Returns a string that represents the current NetConnection.

Property Documentation

◆ Active

readonly bool Active
get

Gets a value indicating whether the connection is active.

◆ ConnectionStatus

readonly NetConnectionStatus ConnectionStatus
get

Gets the current status of the connection.

◆ LocalConnectionId

readonly NetConnectionId LocalConnectionId
get

Gets the local connection ID.

◆ RemoteAddress

readonly NetAddress RemoteAddress
get

Gets the remote address of the connection.

◆ RemoteConnectionId

readonly NetConnectionId RemoteConnectionId
get

Gets the remote connection ID.

◆ RoundTripTime

readonly double RoundTripTime
get

Gets the round-trip time (RTT) for the connection.