Brunet.Relay.RelayERPolicy.GetIdx C# (CSharp) Метод

GetIdx() защищенный Метод

protected GetIdx ( ConnectionState cs ) : int
cs Brunet.Connections.ConnectionState
Результат int
    protected int GetIdx(ConnectionState cs) {
      var ue = (RelayEdge)cs.Edge;
      if( ue.IsInbound ) { return ue.LocalID; }
      else { return ue.RemoteID; }
    }
  }