| 1 | // This file was @generated with LibOVRPlatform/codegen/main. Do not modify it! |
| 2 | |
| 3 | namespace Oculus.Platform |
| 4 | { |
| 5 | |
| 6 | using Description = System.ComponentModel.DescriptionAttribute; |
| 7 | |
| 8 | public enum PeerConnectionState : int |
| 9 | { |
| 10 | [Description("UNKNOWN")] |
| 11 | Unknown, |
| 12 | |
| 13 | /// Connection to the peer is established. |
| 14 | [Description("CONNECTED")] |
| 15 | Connected, |
| 16 | |
| 17 | /// A timeout expired while attempting to (re)establish a connection. This can |
| 18 | /// happen if peer is unreachable or rejected the connection. |
| 19 | [Description("TIMEOUT")] |
| 20 | Timeout, |
| 21 | |
| 22 | /// Connection to the peer is closed. A connection transitions into this state |
| 23 | /// when it is explicitly closed by either the local or remote peer calling |
| 24 | /// Net.Close(). It also enters this state if the remote peer no longer |
| 25 | /// responds to our keep-alive probes. |
| 26 | [Description("CLOSED")] |
| 27 | Closed, |
| 28 | |
| 29 | } |
| 30 | |
| 31 | } |