Photon Fusion 2.0.3

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

Network connection More...

Public Member Functions

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

Properties

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

Detailed Description

Network connection

Member Function Documentation

◆ ToString()

override string ToString ( )

Returns a string that represents the current NetConnection.

Property Documentation

◆ Active

bool Active
get

Gets a value indicating whether the connection is active.

◆ ConnectionStatus

NetConnectionStatus ConnectionStatus
get

Gets the current status of the connection.

◆ LocalConnectionId

NetConnectionId LocalConnectionId
get

Gets the local connection ID.

◆ RemoteAddress

NetAddress RemoteAddress
get

Gets the remote address of the connection.

◆ RemoteConnectionId

NetConnectionId RemoteConnectionId
get

Gets the remote connection ID.

◆ RoundTripTime

double RoundTripTime
get

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