|
WebRTC Video Chat 1.1.4
|
Connection id identifies one specific endpoint in a IBaseNetwork. More...
Public Member Functions | |
| ConnectionId (short lId) | |
| Creates a new id. Only for internal use. | |
| override bool | Equals (object obj) |
| Checks if the ids are equal. | |
| bool | IsValid () |
| Returns true if the id has a valid value. | |
| override int | GetHashCode () |
| Forwarded to the same version in the short id. | |
| override string | ToString () |
| Forwarded to the same version in the short id. | |
Static Public Member Functions | |
| static bool | operator== (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
| static bool | operator!= (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
| static bool | operator< (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
| static bool | operator> (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
| static bool | operator<= (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
| static bool | operator>= (ConnectionId i1, ConnectionId i2) |
| Forwarded to the same version in the short id. | |
Public Attributes | |
| short | id |
| Stores the id as a short. | |
Static Public Attributes | |
| static readonly ConnectionId | INVALID = new ConnectionId() { id = -1 } |
| Specific id that is used to represent an invalid id. | |
Connection id identifies one specific endpoint in a IBaseNetwork.
The id is only unique locally for a specific IBaseNetwork. The same connection can have a different id on the other end point of the connection!
| Byn.Awrtc.ConnectionId.ConnectionId | ( | short | lId | ) |
Creates a new id. Only for internal use.
| lId |
| override bool Byn.Awrtc.ConnectionId.Equals | ( | object | obj | ) |
Checks if the ids are equal.
| obj |
| override int Byn.Awrtc.ConnectionId.GetHashCode | ( | ) |
Forwarded to the same version in the short id.
| bool Byn.Awrtc.ConnectionId.IsValid | ( | ) |
Returns true if the id has a valid value.
|
static |
Forwarded to the same version in the short id.
|
static |
Forwarded to the same version in the short id.
|
static |
Forwarded to the same version in the short id.
|
static |
Forwarded to the same version in the short id.
|
static |
Forwarded to the same version in the short id.
|
static |
Forwarded to the same version in the short id.
| override string Byn.Awrtc.ConnectionId.ToString | ( | ) |
Forwarded to the same version in the short id.
|
static |
Specific id that is used to represent an invalid id.
Value might change to 0 in the future to make sure C# initializes empty id's to invalid values.